Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

Saving with a variable

I'm trying to save a slider value using a variable and load it again, however it needs to be saved locally. The one on the left in the picture needs to save all of the sliders values and the one on the right needs to load the numbers. Need some serious help please. 

Super User
Super User

@Powerappssucks To save the values, you need to use some persistent storage like Share Point List. Are you using one?

I was told to store it locally rather than with a sharepoint

@Powerappssucks "store it locally" locally, where? in a mobile device, browser, PC?


@Powerappssucks There are SaveData & LoadData functions to add simple offline capabilities to PowerApps. 

You can't use these functions inside a browser when:

  • Authoring the app in Power Apps Studio.
  • Running the app in the web player.

So if i use this and test on my phone it should work?


@CNT I might be asking a lot here but I can't wrap my head around it still, cloud you give me some insight to what code I need to put in my buttons?

@Powerappssucks You can store all the slider values in a collection,



Then to store the collection in the cache,

SaveDate(colSliderValues, "cacheSlideValues")

To read the values back,

LoadDate(colSliderValues, "cacheSlideValues")

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (1,497)