HOME COMMUNITY BLOG
Skip to end of metadata
Go to start of metadata

Returns a constant value by name. The result can be string, number or guid. If the constant is mapped as a Data Constant Menu Item and the user changed its value using the menu, the user value is returned. Otherwise the original value stored in the model is returned.

Namespace

xmlns:AS="http://schema.advantages.cz/AsapFunctions"

Syntax

Parameters

Name

Description

name

Name of the constant.

Remarks

Accessing constants is very efficient, because they are always cached in memory. 

Example

This example adds 1 working day to a source date. The calendar is stored in a constant DefaultCalendarId.

Source XML
Stylesheet
  • No labels