SetRealmGlobal
- 1 Minute to read
- Print
- DarkLight
- PDF
SetRealmGlobal
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
PROTOTYPE
Adds or overwrites a realm level variable in the globalManager
Key | Value(s) | Description |
---|---|---|
method | "SetRealmGlobal" | Adds or overwrites a realm level variable in the globalManager |
key | "keyname" | variable name. Required. |
value | "keyvalue"/true/false/N | variable value. Required. Can be string, bool or integer. |
NOTE: SetRealmGlobal requires globalManagerRootPath to be configured in djclient.cnfg
{
"method": "SetRealmGlobal",
"key": "a-bool",
"value": true,
"project": "Demo"
}
{
"method": "SetRealmGlobal",
"key": "a-string",
"value": "string value",
"project": "Demo"
}
{
"method": "SetRealmGlobal",
"key": "anOtherFlag",
"value": false,
"project": "LargeDataSource"
}
Use GetRealmGlobal to retrieve stored values.
Was this article helpful?