cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate IV
Advocate IV

SaveData and LoadData not woking for me

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

8 REPLIES 8
Highlighted
Community Champion
Community Champion

Re: SaveData and LoadData not woking for me

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
Highlighted
Advocate IV
Advocate IV

esRe: SaveData and LoadData not woking for me

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.

Highlighted
Community Champion
Community Champion

Re: esRe: SaveData and LoadData not woking for me

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
Highlighted
Microsoft
Microsoft

Re: esRe: SaveData and LoadData not woking for me

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

 

Highlighted
Advocate II
Advocate II

Re: SaveData and LoadData not woking for me

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

Re: SaveData and LoadData not woking for me

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.

Highlighted
Helper I
Helper I

Re: SaveData and LoadData not woking for me

I'm having the same issue. Any update?

Highlighted
Memorable Member
Memorable Member

Re: SaveData and LoadData not woking for me

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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,430)