cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gottijay1999
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
Yeiner
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (21,353)