i have always had this issue where PowerApps SharePoint integrated forms shows the previous loaded form very briefly before navigating and showing the correct data. i have looked everywhere for solutions and not found any. Not sure if Microsoft are looking at fixing in the future, i'm just looking for any walk-around. My users are loosing trust mainly because they are having to see old data briefly.
i'm looking for a solution that would show a blank screen briefly instead before navigating to the actual form that was clicked by the user.
Since PowerApps always caches the last form/data that was visited, i was wandering if it is possible to make a blank screen the last cached data, so that when a user clicks the new form button or view form button the blank screen shows first before the actual form displays.
Now the challenge i have is how to tackle the OnCancel scenario. This is tricky because there are about 3 different ways to cancel a form(the Cancel button, the 'x' at the top right, clicking outside the form).
i can navigate to the blank screen using the OnCancel property. i just don't know how to handle the other scenarios where the user clicks on the 'x' button or clicks outside the form.
This is how far I've gone
OnCancel-
If(SharePointFormMode="CreateForm", ResetForm(FormNew);Navigate(BlankScreen,ScreenTransition.None), ResetForm(FormEdit);Navigate(BlankScreen,ScreenTransition.None))
OnNew-
Set(SharePointFormMode, "CreateForm");ResetForm(FormNew);NewForm(FormNew);Navigate(FormScreenNew,ScreenTransition.None)
OnEdit-
Set(SharePointFormMode, "EditForm");EditForm(FormEdit);Navigate(FormScreenEdit,ScreenTransition.Cover)
OnView-
Set(SharePointFormMode, "ShowForm");ViewForm(FormEdit);Navigate(FormScreenEdit,ScreenTransition.Fade)
OnSave-
If(SharePointFormMode="CreateForm", SubmitForm(FormNew);Navigate(BlankScreen), SubmitForm(FormEdit);Navigate(BlankScreen))

Report
All responses (
Answers (