Share via


DimensionHierarchy::addLevel Method

Adds the dimension attribute to the hierarchy at the specified level.

Syntax

client server public static boolean addLevel(
    RecId _hierarchyId, 
    RecId _dimensionAttributeId, 
    int _level)

Run On

Called

Parameters

  • _level
    Type: int
    The value of the new hierarchy level.

Return Value

Type: boolean
true if the level was added; otherwise, false;

Remarks

This is a low-level method that performs minimal validation. When you modify a hierarchy of the tree type, use the addLevel method of the DimensionTree class instead.

See Also

Reference

DimensionHierarchy Table