Local Storage - Get Values node
The Local Storage - Get Values node retrieves values from the user's local storage based on specified keys for use in the flow.
This node is available in: Authentication, Admin, Self Service, Consent, Library, Custom, User Defined
Node configurations
Specify the key(s) in local storage whose values should be retrieved. Keys are entered using the UI's repeatable widget, or by referencing a {{variable}} that already resolves to the set of keys at runtime.
Save in the flow store
Attributes generated or retrieved from the node can be saved into a variable.
They can then be reused by other nodes in the flow by referencing them as {{variable.attribute}}.
To do this you choose attributes that need to be stored in the variable, and in the flow store (All attributes exposed by the node are listed in a multi-select dropdown, allowing the user to choose one or more of them), then a variable name that can be freely defined by the user.
There is also a flag to make the variable available to the frontend.
Default output node
- Success
- Failure
JSON metadata
{
"name": "get_local_storage",
"active": true,
"bundleName": "default-nodes",
"bundleVersion": "1.0",
"nodeName": "GetLocalStorage",
"category": "user_agent_components",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "Local Storage - Get Values"
}, {
"lang": "it",
"value": "Local Storage - Get Values"
}
],
"flowCategory": [
"custom",
"admin",
"auth",
"self",
"consent"
],
"flowType": [
"library"
],
"index": 5,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "Failure",
"level": "error"
}
]
}