JavaScript
{dialog.object}_persistToLocalStorageInitializeKeys Method
Syntax
{dialog.object}._persistToLocalStorageInitializeKeys(ls, listId [, flagIncludeBase]);
Arguments
- lsobject
Local storage. Use {dialog.object}._localStorageSettings to get the local storage settings in the UX Component.
- listIDstring
The ID of the List control to initilize.
- flagIncludeBaseboolean
Default = false. If true, list data is deleted. If false, only list edits, synchronized edits, and synchronized deletes are delete, retaining the original list data.
Description
Use to delete persisted List data (including edits) from Local Storage or the File System (Cordova applications.)
Example
var ls = {dialog.object}._localStorageSettings; {dialog.object}._persistToLocalStorageInitializeKeys(ls,'listId',true);