Status
Release Available |
Status |
Framework Name |
---|---|---|
4.2 |
Current |
Mui and Mint |
General
A portal administrator can create or update a key or variable in a deeply nested object with some data for Global Variables and interNav data Variables.
Example 169. Code JSON
"Object": { "Param1": "Value1", "Param2": "Value2", "Param3": "Value3", "Param4": "Value4", "Object2": { "P1": "Test V1", "P2": "Test V2", "P3": "Test V3", "P4": "Test V4", "P5": "Test V5", "Object3": { "P1": "Data V1", "P2": "Data V2", "P3": "Data V3", "P4": "Data V4", "P5": "Data V5" } } }
Example
To access the object attributes at the first level from the object mentioned above, use the following:
-
$global.attr(Object).attr(Param1)
To access the object attributes at the second level from the object mentioned above, use the following:
-
$global.attr(Object).attr(Object2).attr(P1);
-
$global.attr(Object).attr(Object2).attr(P4);
To access the object attributes at the third level from the object mentioned above, use the following:
-
$global.attr(Object).attr(Object2).attr(Object3).attr(P1);