Give us feedback
Mobile icon

Local Storage

Stable version 2.0.1 (Compatible with OutSystems 11)
Uploaded on 15 June 2020 by 
 (8 ratings)

Local Storage

Local Storage allows you to store data on the client side from the Web Storage API. This API accesses the local storage area of the browser without time limit, ie, the stored data will be available whenever you use this page/app. Also, we can use the session storage, is limited to the lifetime of the window.
Read more

With this component, we are able to create variables in localStorage and sessionStorage. We don't need to store in local entities some flags/data, and we can create, read and delete "global variables" for the application. That avoid queries to entities to get only one flag for example.

Please, check the Documentation Tab for more infos.

Note: It is not recommended to use sensitive data in local storage.

Release notes (2.0.1)

New input parameter in ClearAllLocalStorage and ClearAllSessionStorage:

- IsToRemoveOSVars (Set true if you want remove all vars, include the Outsystems Vars)

Reviews (1)
in version 1.0.3
Very useful component. We can emulate Site Properties in the mobile side without query the local database from each screen.  It is a mandatory component if you are developing mobile apps.