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

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,464)