cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
happyuce
New Member

Variable persistence when I navigate screen

I have a powerapp where user enters various numbers on a few screens and then in the end screen the user can view all entries and upload to sharepoint.

It was working alright until end of last year.

Now, when I navigate forward from 1st screen to the 2nd screen - all values are gone before the move - don't know why.

When I navigate back, I see values are gone

But at this point, if user enters the value - they persist when I navigate forward.

My navigate forward button first SET(var,value) and then navigate forward.

Can you pls help with this weird behavior?

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @happyuce ,

What is the screen navigation command between screens?

Screen 1 to 2 -> 

Set(
    v1,
    varNum
);
Navigate(
[@S2],
ScreenTransition.Fade
)

Screen 2 to 1 ->

Navigate(
    [@S1],
    ScreenTransition.Fade
)

 

Hi @happyuce ,

What does v1 do?

My thoughts initially were something in the screen transition, although I have never tried leaving a screen with pending data without saving it. Others in the group may be able to offer some thoughts.

v1 is just a global variable which I display at the end summary screen for user to review and then submit to sharepoint list.

Apparantly it has started to work upon restart.

 

However I also have a Gallery table where user can rate various questions (using star rating).

This star rating recorded value does not pass when I navigate forward but if I navigate forward -> back , fill again and then navigate forward, then the star rating does pass along to the end screen.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,743)