cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Leviathanz
Frequent Visitor

Avoid Reset Global Variable

Hello All,

I make the powerapps screen with GetStarted button on Welcome Screen, once Get Started pressed, this will set the Global Variable value to clicked (this variable will hiding the Get Started button).

But if user closed PowerApps and Re-Open it, this Global Variable reset to default value. Is it possible to avoid reset this variable on Re-Open the Apps?

My goal is to make this Get Started button only available for user who first time using the Application, and hide this for returning user.

Thanks
1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User
Dual Super User

If they close the app then everything will re-initialize.  You would need to store the state of the button outside the app for each user in some data source to be able to re-initialize it when the app is restarted.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User
Dual Super User

If they close the app then everything will re-initialize.  You would need to store the state of the button outside the app for each user in some data source to be able to re-initialize it when the app is restarted.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

Thanks a lot, it's work now followed your guide to store it outside of app.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (1,712)