Working with variables/values¶
There are different options how values can be filled during runtime.
The described functionality can be used with:
- 
Menu labels and icons
 - 
Menu actionValues & parameters
 - 
Menu URL parameters
 - 
Node labels and icons
 
Variables & Values¶
${attributeName}-> Value of the attribute with the nameattributeNameof the current node record;
Usage:
"label": "Workorder ${WONUM}"
$parent
This feature is not supported with the mobile client
Usage:
"label": "WO-Parent is ${$parent.WONUM}"
$userData: data referring to users profiles fetched via the "insight-userprofile"-tree e.g.:${$userData.personid}
Example properties:
- 
personid: PersonId
 - 
siteid: DefSiteId
 - 
laborCode: LaborCode
 - 
defaultCraft: defaultCraft
 - 
defaultCraftRate: DefaultCraftRate
 
This feature is not supported with the openJet backend.
$appParams: Global key-values pairs for one installed app environment (see chapter Download strategyRequirements)
E.g.: ${$appParams.system} dev, test, prod
$func: special functions with a return value
Usage:
"${$func.now}"
Available functions:
- 
now: returns the current date - 
nowLocal: returns the current date without timezone - 
guid: returns an autogenerated uniqueid 
deviceToken¶
deviceToken: Token of the used device. On iOS and Android, the token is deliverd by the device OS and is stable. On insight-electron and Browser the token is generated by the insight client and is stable until browser cache is cleared.