All off a sudden I get an error when editing a shareopoint list item that has a custom powerapp sharepoint edit form, with no changes made to the app in a month. Also the error doesn't identify which field or column is causing the issue. Any help or suggestions on how to troubleshooting this issue?
Solved! Go to Solution.
So the Update properties of the columns you know are required are all good? If so, then I would next take a look at the SharePointIntegration.OnSave property and see what that formula looks like.
This will be found on the left control tree. You can click on the SharePointIntegration and then in the formula bar, drop down the list on the left and choose the OnSave property. See if there are issues there or post back what you are seeing.
EDIT: It should be a SubmitForm(yourForm). Make sure the yourForm is the name of the form that is your edit form.
Finally, I would select the EditForm in the left control tree and then delete it. Then immediately do an undo (ctrl-z) to bring it back. Many times, if the form has gotten "confused", doing this will "Reset" it back to "normal".
The error started to pop up with no changes made to the sharepoint custom forms, it does pop up only in the edit form and not in the new form. I didn't make any changes to the list item, just opened it to edit and hit save and I get the error. Attached is the error screenshot.
I have republished the app with no luck couple of times. I have also checked if the any of the fields were made required by mistake, but none are except for what I already know and have been filling them
Thank you !!
Take a look at the Update properties on the EditForm for the known required columns. I'd be curious to see if there are any errors in them or if they are somehow not providing the information needed to satisfy the "required" requirements.
Hello Randy,
How can I get to update properties, is it in the advanced tab of the column properties?
EditForms are containers of DataCards. Your Edit form will have as many datacards as you have fields assigned.
Each DataCard has (depending on the underlying field/column type) an Update property, a Default property, and a DataField property.
The curiosity is on the Update property for those datacards...
So, click on a datacard in your control tree (left side) and then click on the Advanced properties on the right. Under the Data section (and you might need to click on "More options" to see it), you will find the Update and other properties mentioned.
Thank you Randy, I was able to locate the update property, it mentions the corresponding DataCardValue and I didn't notice anything wrong there.
So the Update properties of the columns you know are required are all good? If so, then I would next take a look at the SharePointIntegration.OnSave property and see what that formula looks like.
This will be found on the left control tree. You can click on the SharePointIntegration and then in the formula bar, drop down the list on the left and choose the OnSave property. See if there are issues there or post back what you are seeing.
EDIT: It should be a SubmitForm(yourForm). Make sure the yourForm is the name of the form that is your edit form.
Finally, I would select the EditForm in the left control tree and then delete it. Then immediately do an undo (ctrl-z) to bring it back. Many times, if the form has gotten "confused", doing this will "Reset" it back to "normal".
Thank you Randy, the OnSave was not configured properly(not sure how it was working earlier, may be we didn't test it properly). You are a savior !!
Thank you Yash for looking into this !!
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
257 | |
243 | |
83 | |
36 | |
28 |
User | Count |
---|---|
298 | |
268 | |
117 | |
65 | |
46 |