cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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?

8 REPLIES 8
Community Champion
Community Champion

Hi

 

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)...click 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)..

hpkeong

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

Hi

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.

hpkeong

Hi,

 

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:

smile.PNG

Thanks,

Wendy

 

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:

 

https://powerapps.microsoft.com/en-us/tutorials/add-images-pictures-audio-video/

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?

Hey,

 

 

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

 

Tom



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

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,733)