cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Save Power App State

Hi all,


I have a Power App with a screen full of Toggles. Please note on this particular screen I do not have a datasource, it's merely 8 items on the screen with a toggle item next to each one. My issue is the Power App will not save the state of the toggle's when refreshed.  So for example all toggles are switched to ON, refreshing the Power App puts them all back to Off.

 

In case this is needed, the reason I don't have a datasource is simply because it's not required. It's essentially a screen for Flows to be turned on or off based on their toggle value. I'd like the toggle's to remain at what their value was during the app session and not reset back to off.

 

Thanks 🙂

1 REPLY 1
BCLS776
Super User
Super User

Is there anything stopping you from using an external data source to save this state info for you? As a web app, Power Apps don't read/write cookies so they don't implicitly remember a user's state.

 

If you are using mobile devices, a collection combined with the SaveData() & LoadData() functions is a great wat to do this.

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (3,388)