I have SharePoint Customize form in PowerApps. When user edits the form and click 'Save' on the form. It does nothing. Neither it gives any error nor Save the changes, and edit form remains open until user click the 'Cancel'. New form is working fine. We are only having issue with Edit form. Even Edit was working earlier and it recently stopped saving the edits.
After reading the community post, I tried to add Refresh('SharePoint Datasource') on form 'OnSuccess' property. But it didn't help.
I would appreciate any help on it.
What is the OnSelect property of your save button and what is the OnSuccess property of your form? Go to SharePoint and check out all of the columns in your list to see if any of them are "required". If so, modify them back to not required. In particular, check out the Title column, If you have renamed it to repurpose it, it is likely the problem. As you have discovered, Refresh() won't do anything.
I believe you might not have a separate Save button and are relying on the Save button that is at the top of your customized form.
If that is the case, then you need to look at the OnSave action of the SharePointIntegration object in your app. What is it set to?
I checked SharePoint list. There is only one field required on SharePoint list that I am filling every time. If I change it back to not required. Will it have any impacts on the application? My application is in production and I don't have a copy of the form in test server.
I don't have Save button on form. It is a SharePoint customize Form that has Save on the top of the form (like SharePoint default form). I have only one form for Edit, New and View.
Following are the property on Form
On Success form property: ResetForm(SharePointForm1); RequestHide()
SharePoint Integration OnSave Property : Submitform(SharePointForm1)
You are correct, I don't have separate Save button.
SharePoint Integration OnSave Property : Submitform(SharePointForm1).
Form is showing weird behavior. If user edits first time. It does save changes and if you make more edits, nothing happens on Save. Form reset back to previous changes. Sometimes gives an error that "There was a problem saving your changes. The data source may be invalid"
You have something that is causing an error in your form.
What happens if you open an item, then go to edit, then save (no changes made)? Do you get the error?
Or, does it only happen if you edit (change something) an item?
I tried to open an item ->go to Edit -> Save
Nothing happened. Form stays open and no error.
I have also changed all required fields to not required on form and SharePoint list. But nothing helped.
It happens on edit form only.
What is in the OnSuccess of the SharePointForm1 ?
You should have a RequestHide() somewhere...
Form On Success prroperty: ResetForm(SharePointForm1); RequestHide()
I did try Refresh('SharePointList') as well on Success form property. But it didn't make any difference.
When I first time edit the item from the list. Form does save changes on the list and closes. But when you edit the same item second time. Save doesn't do anything.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.