Created on 27 December 2018
icon_unfollowing
Login to follow
local-storage

Local Storage

Stable version 2.0.1 (Compatible with OutSystems 11)
Uploaded on 15 June 2020 by 
local-storage

Local Storage

Details
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)
by 
2019-02-04
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.
Category
Device capabilities, Other device capabilities
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
localstorage
LocalStorage
1.0.1
See all 1 dependencies
Application Objects
Local Storage has 0 AOs.
Team
Compatible with
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.528 to 11.0.615
Database:
All
Asset consumers
No consumers yet.
Weekly downloads