Skip to main content
Version: 5.7.0

SysCreatePropertyJson

Creates the named global property with the given json value.

ServiceOperation
globalAppSYS_CREATE_PROPERTY_JSON

Method Parameters

ParameterDescription
nameName of the global property being created.
valueProperty value as JSON
categoryCategory of the new property
descriptionDescription of the new property
optionsJsonOptional boolean property preserveValue to indicate whether to preserve value during deploy, defaults to false

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"name": "my_property",
"description": "this is a description",
"category": "my-category",
"value": "{\"a\":1,\"b\":\"two\"}",
"type": "JSON",
"preserveValue": true
},
"status": 200
}