<
From version < 14.1 >
edited by Outhman Moustaghfir
on 2024/01/30 17:12
To version < 17.1 >
edited by Outhman Moustaghfir
on 2024/03/11 17:14
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -33,13 +33,23 @@
33 33   }}}
34 34  
35 35  {{code language="json"}}
36 -{ "var1": "value1", "var2": "${Env.GetVar;variableName}" }
36 +{ "var1": "value1", "var2": "{Env.GetVar;variableName}" }
37 37  {{/code}}
38 38  
39 +== Global Values ==
39 39  
41 +SetVar supports dynamic values using XGlobal before the variable name to make this var accessibel in the parent sceanrio .
42 +
43 +== Examples ==
44 +
45 +
46 +{{code language="json"}}
47 +{ "iXGlobal:Key": "Value" }
48 +{{/code}}
49 +
40 40  === Dynamic Values ===
41 41  
42 -SetVar supports dynamic values using iXPath functions (GetVar, Date, GetTracking...). This allows you to reference the values of other variables within the JSON file.
52 +SetVar supports globalvalues using iXPath functions (GetVar, Date, GetTracking...). This allows you to reference the values of other variables within the JSON file.
43 43  
44 44  == Examples ==
45 45  
... ... @@ -57,7 +57,7 @@
57 57  
58 58  
59 59  {{code language="json"}}
60 -{ "username": "john_doe", "email": "${Env.GetVar;Email}", "isAdmin": "false"}
70 +{ "username": "john_doe", "email": "{Env.GetVar;Email}", "isAdmin": "false"}
61 61  {{/code}}
62 62  
63 63  
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian