cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User III
Super User III

Hi @happyuce ,

What is the screen navigation command between screens?

Highlighted

Screen 1 to 2 -> 

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

Screen 2 to 1 ->

Navigate(
    [@S1],
    ScreenTransition.Fade
)

 

Highlighted

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.

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (11,893)