getHierarchies ();
The getHierarchies method returns description of alternative hierarchies for dictionary.
To execute the example, the HTML page must contain DimTree component named dimTree with the dim source (see. Example of Creating the DimTree 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: