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 III
Super User III

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

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,078)