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

Re: Variable persistence when I navigate screen

Hi @happyuce ,

What is the screen navigation command between screens?

Highlighted
New Member

Re: Variable persistence when I navigate screen

Screen 1 to 2 -> 

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

Screen 2 to 1 ->

Navigate(
    [@S1],
    ScreenTransition.Fade
)

 

Highlighted
Super User III
Super User III

Re: Variable persistence when I navigate screen

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
New Member

Re: Variable persistence when I navigate screen

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

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,736)