JavaScript

{dialog.object}_restoreVariablesFromLocalStorage Method

Syntax

{dialog.object}._restoreVariablesFromLocalStorage();

Description

Restores persisted variables stored in Local Storage to the UX Component.

Discussion

The method restores variables saved to Local Storage.

This method is only available when Persist variable values is enabled. To read an item in local storage without using Persist variable values, use localStorage.getItem().

Example

{dialog.object}._restoreVariablesFromLocalStorage();

See Also