Local data resource
Use a Local data resource to configure data that can be preloaded to the client device. This data can be used in both online and offline apps.
When a Local data resource is used, the My Data section becomes available in the client. In My Data, the end user can download the data to their local device. Each Local data resource used in apps available to the end user will appear in this section in connection with the app.
To configure a Local data resource:
Create a component that outputs the data you want to preload.
Commit the component to make it available for use.
Drag a Local data resource into the design area of your app.
Use the drop-down list to select the component you created.
Set the target variable name.
The data is now available for use in the app configuration.
See more in My data.
Expiration date:
Local data can be set to expire. The expiration time is configured using the dropdown menu. There are two options available:
End of day: the data expires at the end of the calendar day it was downloaded.
Time from download: the expiration time is set in hours, days, or weeks.
When the data expires, the designer can choose between a soft stop and a hard stop:
Soft stop – the end user receives a warning that the data has expired, but the app can still run and use the expired data.
Hard stop – the end user receives a warning that the data has expired and must download new data before the app can be run.
To enable a soft stop, check “Allow application to run if its data resource has expired".
Note that since local data is not updated in paused apps, they will continue using the data that was available when the app was started. In other words, the data used in the app will not expire as long as the app remains paused.
The default setting is a 7-day expiration time with a hard stop.
Last updated
Was this helpful?