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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,354)