Hello,
I am working on an app for marking off tasks in an investigation as that investigation moves to completion. I am getting a couple different errors when submitting the data with the PowerApp. I've gone through all the other forums and tried some of their solutions, but they are not working for me 😥
My goal is to remove these two errors:
- When I submit the data in the PowerApp, I get a "There was a problem saving your changes. The data source may be invalid." error across the top of the screen. However, the PowerApp seems to write correctly to the associated Sharepoint list.
- Particularly if I check or uncheck multiple checkboxes in quick succession, I get an ETAG Mismatch error. This data usually writes partially correctly - for example, if I check 4 boxes, 2 will write correctly to the Sharepoint list. I have tried putting Refresh('Sharepoint List'); before my Patch function, but it made no difference - I just got the ETAG Mismatch error in my App Checker instead of across the top of the screen when I attempted to submit data.
The OnCheck code is: Patch('Sharepoint List',Update_List.Selected,{'Column1':Now(),'Column2': { Value: "Completed"}})
The OnUncheck code is: Patch('Sharepoint List',Update_List.Selected,{'Column1': Blank(),'Column2': { Value: "Not Completed"}})
Default: If(Update_List.Selected.'Column1'.Value="Completed", true, false)
Submit: Navigate(SubmittedScreen,ScreenTransition.Fade);SubmitForm(Form1)
I have no issues with the Sharepoint list connection - I've refreshed it, etc. and it's made no difference. Please help!