Local Storage

Stable Version 1.0.3 (OutSystems 11)
Published on 15 Jan by 
Created on 27 December 2018
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.


Local Storage:

ActionDescription
CheckIsSetItemLocalStorageCheck if a item is set in local storage
ClearAllLocalStorageClear all items in local storage
GetItemLocalStorageGet item from local storage
RemoveItemLocalStorageRemove item from local storage
SetItemLocalStorageSet item to local storage


Session Storage:

ActionDescription
CheckIsSetItemSessionStorageCheck if a item is set in session storage
ClearAllSessionStorageClear all items in session storage
GetItemSessionStorageGet item from session storage
RemoveItemSessionStorageRemove item from session storage
SetItemSessionStorageSet item to session storage


Extra:

ActionDescription
CheckBrowserSupportCheck if browser support storage


+info: https://www.w3schools.com/html/html5_webstorage.asp

What’s new (1.0.3)

Icons added in the actions

Reviews (1)
4 Feb
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
Components, Mobile Plugins
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Paulo Cação who created this component.
Dependencies
Local Storage has no dependencies.
Requirements
Platform
11.0.0.200
Database
All
Stack
.NET
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
Silk UI Web
OutSystems R&D
A fully responsive and beautiful UI framework that works within the OutSystems Platform. Build amazing looking applications, in a fraction of the time, which work perfectly across devices. Learn how to start using Silk UI and see the examples at silkui.outsystems.com . Obtain assistance on using Silk UI in our forums .
28593
Multiple File Upload
Multi Uploaders
Allow you to upload multiple files in one upload form or using drag and drop functionality.
2777
OutSystems UI Mobile
OutSystems R&D
Create amazing native mobile applications using this fully integrated UI framework for OutSystems, with dozens of UI patterns ready to use.
10079
More from Paulo Cação
Date Time Picker Range
Paulo Cação
A JavaScript component for choosing date ranges, dates and times.
45
Lodash
Paulo Cação
Lodash makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc. Check all documentation: https://lodash.com/
10