Storage Block
- 14 Aug 2021
- 1 Minute to read
- Contributors
- Print
- DarkLight
- PDF
Storage Block
- Updated on 14 Aug 2021
- 1 Minute to read
- Contributors
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Storage options are explained as below:
It is of two types: Session Storage and Persistent Storage.
- Session Storage consists of SetItem, GetItem, RemoveItem, Clear Session.
- Persistent Storage consists of GetItem, SetItem, RemoveItem
Session Storage:
Get Item
GetItem is used to fetch a particular Key-value placed within a storage variable.
Set Item
Set Item is used to set a particular key-value pair to a particular variable.
Remove Item
It is used to remove a particular item within the variable placed within the storage block.
Clear Session
It is simply a trigger used to clear a particular session based on time or event trigger.
Persistent Storage:
This is primarily done for local variables declared within the database.
GetItem
This block is used to fetch a key-value pair from a local database.
SetItem
This block is used to set a key value to a particular local variable.
RemoveItem
This block is used to remove the existing key-value of a variable from the local storage.
Was this article helpful?