Skip to content

CMS\_GetProperty

Returns a property from the property table in the SQL database.

:vb: CMS_GetProperty(Prop) As string

:ps: [string]CMS_GetProperty -prop <property>

Prop (String)

Name of property.

To protect the property table, only the following properties can be queried;

  • CapaOneOrgId
  • CapaOneOrgKey
  • CapaOneOrgName
  • CapaOneOrgTag
  • CapaOneBaseUrl

:vb: Result will be stored in gsValue

:ps: Result will be returned as the result of the function

:vb: VBScript

If bStatus Then bStatus = CMS_GetProperty("CapaOneOrgName")

:ps: PowerShell

Terminal window
$property = CMS_GetProperty -prop 'CapaOneOrgName'
$cs.Job_WriteLog("CapaOneOrgName" ,"$property")

Scripting Guidelines