Hello,
I am having an issue creating a Power App that will allow for a user to edit an item in a SharePoint List. There are going to be a LOT of columns on this list, right now I've only made about 20 as I am testing how to create this. The final product will have about 200 columns. Please note this is my first time using Power Apps.
Because of the many fields, I have split the edit form across multiple screens within the App.
Right now there's 5 screens:
- LandingScreen: Has a Gallery that shows the existing list items to select one to edit.
- Screen1-3: Each has its own EditForm (Form1, Form2, Form3) with fields from the List Item, and buttons for Prev Page/Next Page
- Screen3 has a Submit button instead of Next Page. It uses this formula to successfully submit the edits (sometimes... getting to that):
Patch(
'Shear Verification',
Gallery1.Selected,
Form1.Updates,
Form2.Updates,
Form3.Updates
);
Navigate(Screen4,ScreenTransition.Cover)
- Screen4 is just a success screen.
The problem I'm having is that it seems like every time the form loads and I start making edits on Screen1, those edits are lost when advancing to Screen2 THE FIRST TIME ONLY. If I edit Screen1, advance and then go back and edit again, the edits persist. This is the same case for Screen2 advancing to Screen3. However anything I do on Screen3 seems to always persist and get saved.
I am hoping this just is something to do with how I'm navigating or some other setting I'm not aware of.
Happy to provide whatever else I can to help with identifying what could be causing this.
My Prev/Next Page buttons are using: Navigate(Screen2, ScreenTransition.Cover).
Each form's DefaultMode is set to FormMode.Edit, Item is Gallery1.Selected.
The NextArrow on the LandingPage uses Select(Parent); Navigate(Screen1,ScreenTransition.Cover).
I put a screen recording on Dropbox to show the behavior. Link: https://www.dropbox.com/s/h16szze2dd2g6kg/Screen%20Recording%202020-11-13%20at%203.13.07%20PM.mov?dl=0
Any advice on this is greatly appreciated! Thank you!
-Joseph