getHierarchies ();
The getHierarchies method returns description of alternative hierarchies for dictionary.
To execute the example, the HTML page must contain DimensionTree component named dimTree with the source dim (see Example of Creating the DimensionTree Component). Show information about alternative hierarchies of the dictionary:
console.log(dim.getHierarchies()[1].id)
After executing the example the browser console shows ID of the second alternative hierarchy in the dictionary.
See also: