Are SaveData and LoadData functions supposed to be working? Has anybody tested/used them?
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)..
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.
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.
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:
Thanks,
Wendy
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.
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
Proud to be a Flownaut!
User | Count |
---|---|
142 | |
137 | |
78 | |
73 | |
70 |
User | Count |
---|---|
228 | |
139 | |
78 | |
61 | |
56 |