I created PowerApps New, View and Edit forms via SharePoint Customize forms for each. The problem I'm having is that the native SharePoint "Save all" button does not save the Edit Form. The "Save" button works just fine on the New Form, but not the "Save all" on the Edit Form. I've added a Save button to the Edit Form so that users can edit and save changes, but naturally, they still gravitate to the SharePoint "Save all" button and it LOOKS and acts as if it's saved, but their changes do not get saved.
See screenshot of app settings for the forms, and let me know what I'm missing - I feel like it's something simple that I'm just overlooking.
Thanks...
Solved! Go to Solution.
Typically, you would only have one form for edit and new, but if you have two forms for this same function, then you can utilize the form properties to determine if a submit is needed.
ex.
If(RequestForm_New.Unsaved && RequestForm_New.Valid, SubmitForm(RequestForm_New));
If(RequestForm_Edit.Unsaved && RequestForm_Edit.Valid, SubmitForm(RequestForm_Edit));
It would be more ideal to simply have one form for edit and new though.
You need to look at the OnSave action of the SharePointIntegration object in your app. That is the Formula that will execute when a user clicks on the standard Save All button in the form.
I hope this is helpful for you.
The OnSave is set to "SubmitForm(RequestForm_New)" - if I change it to the Edit form ("SubmitForm(RequestForm_Edit)") will that disable the Save on the New Form, though?
Typically, you would only have one form for edit and new, but if you have two forms for this same function, then you can utilize the form properties to determine if a submit is needed.
ex.
If(RequestForm_New.Unsaved && RequestForm_New.Valid, SubmitForm(RequestForm_New));
If(RequestForm_Edit.Unsaved && RequestForm_Edit.Valid, SubmitForm(RequestForm_Edit));
It would be more ideal to simply have one form for edit and new though.
The IF statement worked. Thank you!