Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

SFU​.setStorageItem()

  • Last UpdatedNov 17, 2025
  • 1 minute read

Use setStorageItem() method to set key and value for the key in the web storage.

Note: Forms utilize JavaScript's localStorage and sessionStorage to store key-value pairs in the user's browser. Most major browsers (Chrome, Firefox, Safari, Edge) typically enforce a storage limit of approximately 5 MB per origin for both storage types. Exceeding this limit may result in errors when setting items.

Syntax

SFU.setStorageItem(key,value);

Parameters

Parameter

Description

key

Key in the web storage.

value

Value for the key in the web storage.

Return Value

None.

Example

// Set key and value for the key in the web storage.

SFU.setStorageItem("WorkItemData","WO2015");

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in