cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerExplorer
Helper I
Helper I

Customized Sharepoint Form shows previous data on View/New/Edit

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... 

I've tried 

1. 

Refresh('SP list'); ResetForm(SharePointForm1);EditForm(SharePointForm1)
Refresh('SP list');ResetForm(SharePointForm1);NewForm(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()

 

Nothing solved. 

 

@v-siky-msft  @RandyHayes  @WarrenBelz    -  I've tried many of your suggestions. It didn't work. Any further soln I should try? Thank you in advance. 

 

3 REPLIES 3
WarrenBelz
Super User III
Super User III

@PowerExplorer ,

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.

RandyHayes
Super User III
Super User III

@PowerExplorer 

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.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
PowerExplorer
Helper I
Helper I

Thank you very much @WarrenBelz @RandyHayes . I'll give it a shot your suggestion.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,145)