SetProjectGlobal
- 1 Minute to read
- Print
- DarkLight
- PDF
SetProjectGlobal
- 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 project level variable in the globalManager
Key | Value(s) | Description |
---|---|---|
method | "SetProjectGlobal" | Adds or overwrites a project 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: SetProjectGlobal requires globalManagerRootPath to be configured in djclient.cnfg
{
"method": "SetProjectGlobal",
"key": "a-bool",
"value": true,
"project": "Demo"
}
{
"method": "SetProjectGlobal",
"key": "a-string",
"value": "string value",
"project": "Demo"
}
{
"method": "SetProjectGlobal",
"key": "MinRecords",
"value": 1000000,
"project": "LargeDataSource"
}
Use GetProjectGlobal to retrieve stored values.
Was this article helpful?