SetObjectProperty
- 1 Minute to read
- Print
- DarkLight
- PDF
SetObjectProperty
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
NOTE: Internal Development use only
Sets and unsets object properties.
Key | Value(s) | Description |
---|---|---|
method | "SetObjectProperty" | Sets and unsets object properties. |
name | "ObjectName" | Required. Name of object to modify. |
property | "PropertyName " | Property to modify |
value | "PropertyValue" | Value to set |
project | "ProjectName" | Current Project Name |
Available Properties:
Property | Value | Description | Additional Properties |
---|---|---|---|
"DELETEPROTECT" | "true" "false" | If true, object cannot be deleted. | |
"hideintree" | "true" "false" | Shows/Hides listed data objects in project | "names": [ "table1.field1", "table2.field2", "..." ] "names":[ "table1.*" ] |
Example - Delete Protection
{
"method": "SetObjectProperty",
"name": "Customer",
"propery": "DELETEPROTECT",
"value": "true",
"project": "MyDemonstration"
},
Example - Show/Hide fields
The following sets the list of fields that are to be visible in the tree
{
"method": "SetObjectProperty",
"project": "Demo",
"property": "hideintree",
"value": false,
"names": [
"DATA_S1.address_code",
"DATA_S1.zipplus4"
]
}
{
"method": "SetObjectProperty",
"property": "hideintree",
"value": true,
"names": [
"BikeTripData.*"
],
"project": "CONSUMER_Test1"
}
Was this article helpful?