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

SaveData and LoadData not woking for me

Are SaveData and LoadData functions supposed to be working? Has anybody tested/used them?

Community Champion
Community Champion



The functions still work.


1. Create 2 inputs: TextInput1, TextInput1_1

2. Create a Button: Collect(MyStory, {Name: TextInput1.Text, Age: TextInput1_1.Text})

3. Enter several data into TextInput1 and TextInput1_1

4. View under Contents - Collections: You can see the data (max: 5 records for reference only)

5. Create a Gallery (in another Screen or same screen), with Items = MyStory, and you can see all your data are similar to the Collections

5. SaveData(MyStory, "Text").....MyStory is CollectionName = the same as Collect (MyStory..); "Text" is just anyname will do, and must be in ".."

6. Create a Button: Clear(MyStory) and all data are cleared from Collections and Gallery shows nothing.

7. Create a Button: LoadData(MyStory, "Text")..this must exactly similar to SaveData. Click

8. You can view the data is back in Collections and Gallery.


Hope this helps.

6. Create a Button: Clear(MyStory)..


Thanks hpkeong,

Have you tried to use it on a saved app? It works for me when in design mode, but when I save the app and try to use it with ios or windows app it does not work.

Community Champion
Community Champion


Yes, you are absolutely right.

In Edit Mode it works but when it is SAVE into CLOUD, LoadData does not work.


PG: Can you please debug.




I could reproduce this issue on my end. For this issue, I suggest you submit a feedback from PowerApps Studio. Meanwhile, we will internally report this issue.


You can submit a feedback via the smile icon:





Advocate II
Advocate II

Any solution for this? I am also seeing the same issue.
Advocate III
Advocate III

Also not working for me. And according to the images page:

Important To retain the images after the app is closed, use the SaveData function to save them locally, or use the Patch function to save them to a data source.


In other words, the data is definitely supposed to persist after the app is closed with these functions. Definitely a bug when used outside of the development studio.

Helper I
Helper I

I'm having the same issue. Any update?




The issue is still present, you still can't LoadData and SaveData when in a browser, which makes it difficult to test. 

Because you can't see your collections in the mobile app. So how are we suppose to check if the data is saved so we can close the app without losing any of our data? 


It would be nice because in some cases you need to save something temporarily and then submit it to a datasource. 

I don't think many users will let the app open during the save and the submit. So we need this to work and hold the data while the app is closed.


Kind regards



If this reply has answered your question or solved your issue, please mark this question as answered.

Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!


Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (69,079)