getCustomHierMd(dimKey: Integer);
dimKey. Dimension key.
The getCustomHierMd method returns custom hierarchy metadata.
If there is no custom hierarchy, the method returns Null.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Determine metadata of alternative dimension hierarchy with the 2 index:
eax = expressBox.getSource(); // Get dimension key with the 2 index dimK = eax.getDims()[2].getKey(); // Get alternative hierarchy metadata console.debug(eax.getCustomHierMd(dimK)); // -> Object {k: 2, vis: True, arg: Object}
After executing the example the console displays alternative hierarchy metadata of dimension with the 2 index.
See also: