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

SharePoint Form in Powerapps opens the last form on edit,view and new

i have an issue with a simple form customised on Powerapps. i'm using only one form called showItemForm to reduce the time it take powerapps to load.

 

Basically when i click on the new button on SharePoint the form opens in newform mode opens but sometimes it briefly starts from the viewform mode and then back to the newform mode.

when i then view another item, i briefly see the last item that was opened in the mode that it was opened. This happens when i click on New,Edit and View.  i have tried alot of suggestions but none seems to fix my issue.

 

this is currently what my code looks like. Any suggestions on how i can fix please. i have also tried to put a timer screen but that only show up the first time after the form has been published or the page refreshed

 

Onview
Refresh([@Briefings]);
ResetForm(ShowItemForm);
ViewForm(ShowItemForm);
Navigate(ShowScreen,None)

OnEdit
Refresh([@Briefings]);
ResetForm(ShowItemForm);
EditForm(ShowItemForm);
Navigate(ShowScreen,None)

OnNew
Refresh(Briefings);
ResetForm(ShowItemForm);
NewForm(ShowItemForm);
Navigate(ShowScreen,None)

OnSuccess on ShowItemForm
Refresh([@Briefings]);ResetForm(ShowItemForm); RequestHide()

 

 

2 REPLIES 2
Microsoft
Microsoft

Hello @Gottijay1999 did you try in different browsers?

 

One thing I've found in this situation is to set the Load-spinner property of the screen to Data. it seems to help

 

 

data.JPG

I tried on Edge and Chrome and got the same results.

 

i'm also not having any luck with the loading spinner too. it seems like it caches the modes of the form last visited. just can't figure out how to reset it so it does'nt

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (68,700)