@script::getGlobalConstant

Retrieves the value of the specified Global Constant.

Note: If a Global Constant and a Company Constant have the same name, the value of the Company Constant overrides the value of the Global Constant for that Company.

Syntax:

@script::getGlobalConstant(String constantName)

Parameters:

Returns:

Value of the specified Global Constant.

Example:

$main.alarmPointURL = @script::getGlobalConstant("WEBSERVERURL")
$content = $content & $main.alarmPointURL
 

@company::getCompanyConstant