cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Limitations and expiry for SaveData cache?

In our use case, we will rely on SaveData replicatnig centralized data, possibly for quite some time. We have verified that data persists between restarts of the device, but there are still lots of things we need to find out:

 

Will the data cached with SaveData expire after some period of time?

What happens if the user updates the Powerapp app through their app store?

 

Is there a limit (other than what's available on the device) as to how much information can be stored this way?

 

Are the limitations different whether the data is for instance text or images?

1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff AndyPennell
PowerApps Staff

Re: Limitations and expiry for SaveData cache?

The data store should survive at least until the next PA app update, so that is usually ~3 weeks. Further than that and the likelyhood of loss rises exponentially. PA supports many kinds of real data storage, please use one if you want your data to persist reliably. You can also backup/view/restore data when stored in a real database.

View solution in original post

6 REPLIES 6
PowerApps Staff AndyPennell
PowerApps Staff

Re: Limitations and expiry for SaveData cache?

SaveData/LoadData should not be used for long-term data storage.

 

See https://powerusers.microsoft.com/t5/PowerApps-Forum/load-data-and-sync/td-p/95

 

Anonymous
Not applicable

Re: Limitations and expiry for SaveData cache?

Thanks.

 

Would it be possible to get a better description of just how short term SaveData is? Our proof of concept greatly relies upon this information. Is it at all deterministic when the cache gets cleared?

PowerApps Staff AndyPennell
PowerApps Staff

Re: Limitations and expiry for SaveData cache?

The data store should survive at least until the next PA app update, so that is usually ~3 weeks. Further than that and the likelyhood of loss rises exponentially. PA supports many kinds of real data storage, please use one if you want your data to persist reliably. You can also backup/view/restore data when stored in a real database.

View solution in original post

Anonymous
Not applicable

Re: Limitations and expiry for SaveData cache?

Thanks. That wasn't quite as bad as I was fearing.


And when you say "persist", you talk about centralized persistance, rather than something available locally, right?

PowerApps Staff AndyPennell
PowerApps Staff

Re: Limitations and expiry for SaveData cache?

Centralized persistence, right.

Highlighted
amac44
Level: Powered On

Re: Limitations and expiry for SaveData cache?

What do you mean by every 3 weeks? Even if updates were occurring every 3 weeks, couldn't that be tomorrow, or an hour from now?

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 329 members 1,529 guests
Please welcome our newest community members: