CMS_GetProperty

Description

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

Syntax

CMS_GetProperty(Prop) As string

[string]CMS_GetProperty -prop <property>

Parameters

Prop (String)

Name of property.

Property whiteList

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

  • CapaOneOrgId

  • CapaOneOrgKey

  • CapaOneOrgName

  • CapaOneOrgTag

  • CapaOneBaseUrl

Return value

Result will be stored in gsValue

Result will be returned as the result of the function 

Example

VBScript

If bStatus Then bStatus = CMS_GetProperty("CapaOneOrgName")

PowerShell

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

Scripting Guidelines

 Related functions

Â