Hi All,
I am having a very strange issue where PowerApps forms are not loading all the fields in the item all at once.
Background Context:
I have created an app that splits the collection of data accross 5 forms. The data is collected into a collection as each form is completed and only uploaded once using a Patch.
When the data submitted to the SharePoint list, an email is sent to a supervisor who will open up the submitted item in View mode (please see the video).
Dataload logic
- The supervisor is sent an email which links back to the PowerApps and passes a unique variable as a parameter
- The PowerApps will set the parameter and then look up the SharePoint item and assign it to a globalVariable (gblReviewItem)
- Once loaded, the PowerApps will set the forms' DisplayMode as View AND it will set the Forms' Item() property as the gblReviewItem)
Issue
When the PowerApps first loads, the first form behaves as expected (it displays all the SharePoint's Item fields) and the user will then use the next button to navigate to the next screen.
This is when the issue begins. The next screen does not load the data into the form unless the user navigates back and forth, which the form will then slowly a couple of fields at a time.
Debugging so far
- I have added a label to the second screen and set it to display a field from the SharePoint Item, this shows the item on first load
- I have also copied and pasted the form on the second screen - this also displays the data on first load
- I then tried to delete the original form on the second screen and then replace all references to the fields in the new form. This did not work as the new form then displayed the same behaviour or loading the form fields sporadically on each navigation.
- I have tried rolling back to a previous version that did not display this behaviour, but once I saved and new changes, it displayed the same issue
- I have tried exporting and importing the PowerApps as a new App which worked on import. But once any new changes were saved, it displayed the same issue
I have attached 2 gifs for better clarification of the issue.
Further notes
- I did change a column data type in the SharePoint List
Any assistance would be greatly appreciated