CMS\_GetProperty
Description
Section titled “Description”Returns a property from the property table in the SQL database.
Syntax
Section titled “Syntax”:vb: CMS_GetProperty(Prop) As string
:ps: [string]CMS_GetProperty -prop <property>
Parameters
Section titled “Parameters”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”:vb: Result will be stored in gsValue
:ps: Result will be returned as the result of the function
Example
Section titled “Example”:vb: VBScript
If bStatus Then bStatus = CMS_GetProperty("CapaOneOrgName"):ps: PowerShell
$property = CMS_GetProperty -prop 'CapaOneOrgName'$cs.Job_WriteLog("CapaOneOrgName" ,"$property")