CMS_GetProperty
Description
Section titled “Description”Returns a property from the property table in the SQL database.
Syntax
Section titled “Syntax”CMS_GetProperty(Prop) As Boolean[string] CMS_GetProperty -prop <property>Parameters
Section titled “Parameters”Prop (String)
Section titled “Prop (String)”Name of property.
Property whiteList
Section titled “Property whiteList”To protect the property table, only the following properties can be queried. The name isn’t case-sensitive. If you specify any other property, the function fails.
- CapaOneOrgId
- CapaOneOrgKey
- CapaOneOrgName
- CapaOneOrgTag
- CapaOneBaseUrl
Return value
Section titled “Return value”Boolean, TRUE if function completed successfully. The result will be stored in gsValue.
Result will be returned as the result of the function
Example
Section titled “Example”If bStatus Then bStatus = CMS_GetProperty("CapaOneOrgName")$property = CMS_GetProperty -prop 'CapaOneOrgName'$cs.Job_WriteLog("CapaOneOrgName" ,"$property")