web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Save and Load previous...
Power Apps
Unanswered

Save and Load previous toggle, radio buttons and text selections

(0) ShareShare
ReportReport
Posted on by 32

I have created a standalone Powerapps. It is basically just a dashboard with a text input box, a number of toggle switches and radio buttons.

 

The dashboard will be used just to confirm a list of actions have been started or completed. There is no requirement to save the data as such, but I need the option to keep the toggle selections and radio buttons etc as they were previously when a user reopens the app.

 

There is no requirement to save the selections other than for it to reapply the selections when the app was closed.

 

Thank you ☺️

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,966 Most Valuable Professional on at

    @VegetA3113 ,

    You still have to save the data somewhere for the toggles to be set when the user returns. A reference list with the user's email and the toggle positions could be used and then restored using User().Email as a Filter to set Variables for the toggle positions.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • VegetA3113 Profile Picture
    32 on at

    Thanks for the reply.

     

    The app will have multiple users so it may have to be on either a OneDrive or SharePoint.

     

    Would you be able to be more specific about how to set this up?

     

    I appreciate the help

  • WarrenBelz Profile Picture
    155,966 Most Valuable Professional on at

    @VegetA3113 ,

    You would write to a list (as mentioned) with the toggle positions. You would need to check if the item (user's email) was already there and if not, create a new record, if so edit the current one.

    On opening, you would then lookup the list, get the toggle positions as Variables and then set the Toggle Default to these values.

    Happy to review any code you write implementing this.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • VegetA3113 Profile Picture
    32 on at

    No idea where to begin... I've trawled the internet for two days without success.

     

     

  • VegetA3113 Profile Picture
    32 on at

    Thanks for your help i have managed to create a patch function and the data is now saved in a SP list but i am stumped on how to retrieve the data on opening.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard