Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Screen Not Resetting

Posted on by 211

Could someone offer insight into why the background remains shaded and "Confirm" screen remains after users click "Ok"?   It does transition to the Success screen, however, it isn't Resetting.

 

Shaguar357_1-1715264374491.png

 

Shaguar357_0-1715263603616.png

 

  • Shaguar357 Profile Picture
    Shaguar357 211 on at
    Re: Screen Not Resetting

    Thank you @LaurensM 

  • Verified answer
    LaurensM Profile Picture
    LaurensM 12,525 on at
    Re: Screen Not Resetting

    Hi @Shaguar357,

     

    I expect that the pop-up visibility is conditional based on a boolean variable (Variable within the Visible property). Similar to how you are showing the pop-up (after pressing the save icon?), you will have to hide the pop-up after pressing Ok (and Cancel). Depending on which function you used to set the variable to true, either UpdateContext or Set, you will have to set the variable back to false.

     

    //Change the variable name accordingly
    //Example global variable
    Set(gblName, false);
    
    //Example local variable (preferred for pop-ups)
    UpdateContext({locName: false});

     

    As a note: I tend to avoid using the Group control and use container controls instead. This allows you to set the conditional visibility on the container instead of individual control.

     

    If this solves your question, would you be so kind as to accept it as a solution.
    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard