Powerfolks Please I need help ,with the issue explained here , I'm having same issue, My SP list customized form is very simple less than 10 columns and no much validation/code. And i only have one form control/SharePointForm1. So, whenever any form is opened(View,new,edit) it loads the previous data/entry for 1/2 sec before loading the right data . Unless I refresh in between all clicks.
Let's say If I refresh before clicking another item it shows blank form before loading the item , which is better than showing previous data.
It confuse users and you can't tell hundreds of users to refresh each time they click item to view or create or edit. It just falls under an issue that PApps isn't refreshing properly / caching...
Refresh('SP list'); ResetForm(SharePointForm1);EditForm(SharePointForm1)
Refresh('SP list');ResetForm(SharePointForm1); ViewForm(SharePointForm1)
And reverse order, 1st resetform then refreshForm,
ResetForm(SharePointForm1); Refresh('SP list'); ViewForm(SharePointForm1)
2. Onsuccess : Refresh('SP list'); ResetForm(SharePointForm1);RequestHide()
I have read a number of responses on the thread you referenced.
Quite simply, this is (although not acceptable to you) fairly normal behavior my users experience as well and are simply told to ignore. I have several forms that display a heap of information including a gallery, a form selected from it and then another gallery referencing the form. A second or two for it all to resolve when another item is chosen fro the gallery is quite normal. If it really bothers you, put a timed "spinner" on the screen with an opaque background for a couple of seconds.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
My only suggestion in addition to @WarrenBelz comments would be to set your default form mode to New and before you do a RequestHide() do a ResetForm. This should put the form in a blank state so that the next time it appears it will be blank until the record loads.
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Check out our new Discover Your Career Path blog post series and get all the details.