PvtDimension.CustomNamingExpression

Syntax

CustomNamingExpression: String;

Description

The CustomNamingExpression property determines custom name expression.

Comments

Value of the CustomNamingExpression property can be set from JSON or using the setCustomNamingExpression method, and returned using the getCustomNamingExpression method.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Express report must contain private dimensions.

// Get dimension
pDim = eaxAnalyzer.getDims()[2];
// Set custom name 
pDim.setCustomNamingExpression("Element: %NAME%");
pDim.setUseCustomNaming(true);

After executing the example a custom name is set for dictionary elements.

See also:

PvtDimension