cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ProfAsselin
Level: Powered On

Reset to top of the screen

Hello,

 

I have a EditForm with a scrollbar (no canvas) and since I have a long survey with 42 questions, I would like to be able to reset the screen at the top when leaving my screen and returning to it.

 

I tried the onvisible onhidden ResetCan and resetCan=false in the visible property of the EditForm container and it almost works, but sometimes the editform goes blank. It will come back eventually after a couple of tries of reloading the page. 

 

I tried several things, but nothing seems to work...Is there a way to do this ?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
ProfAsselin
Level: Powered On

Re: Reset to top of the screen

Hi, 

 

Programming is the best hobby, since times fly when your having fun !!! I found my own solution. I actually did somewhat like the example :

OnVisible

UpdateContext({resetCan:true}) 

OnHidden

UpdateContext({resetCan:false})

 

On each of my 12 datacard I placed the property Visible to resetCan.

 

For now, it seems to work...still in beta testing.

1 REPLY 1
ProfAsselin
Level: Powered On

Re: Reset to top of the screen

Hi, 

 

Programming is the best hobby, since times fly when your having fun !!! I found my own solution. I actually did somewhat like the example :

OnVisible

UpdateContext({resetCan:true}) 

OnHidden

UpdateContext({resetCan:false})

 

On each of my 12 datacard I placed the property Visible to resetCan.

 

For now, it seems to work...still in beta testing.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 21 members 4,315 guests
Please welcome our newest community members: