cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MRCL
Level 8

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
hpkeong
Level 10

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
MRCL
Level 8

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.

hpkeong
Level 10

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

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

 

aruntd77
Level: Powered On

Re: SaveData and LoadData not woking for me

Any solution for this? I am also seeing the same issue.
TschoofBAH
Level 8

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.

lalder
Level: Powered On

Re: SaveData and LoadData not woking for me

I'm having the same issue. Any update?

Super User
Super User

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





Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!





Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 235 members 6,364 guests
Please welcome our newest community members: