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 string[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;
- CapaOneOrgId
- CapaOneOrgKey
- CapaOneOrgName
- CapaOneOrgTag
- CapaOneBaseUrl
Return value
Section titled “Return value”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")