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

AVEVA™ Work Tasks

skelta​.userContext​.getUserContextFor()

  • Last UpdatedDec 06, 2024
  • 1 minute read

Use getUserContextFor() method to get the form information.

Syntax

sRetVal = skelta.userContext.getUserContextFor(formConstants);

Parameters

Parameter

Description

formConstants

Form Constants.

"appN" – Application Name

"uId" – User ID

"vId" – Virtual Actor ID

"fName" – Form Name

"vStamp" – Form Version

"itemId" – Item ID

"listName" – List Name

"themePath" – Theme Path

"culture" – Culture

“deviceId”- Device ID (applicable only for AVEVA Work Tasks Pro app)

Return Value

This method returns a string value.

Example

// Get the application name of the form.

var applicationName = skelta.userContext.getUserContextFor("appN");

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