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");