Documentation menu
getAllHierarchies
getAllHierarchies():Array
Returns a list of all available hierarchies from the report.
Returns
Returns an array of objects. Each object is characterized by the following properties:
Name | Type | Description |
---|---|---|
caption | String | The field caption. |
uniqueName | String | The unique field name. |
Example
webdatarocks.getAllHierarchies();
/* The method returns an array of objects:
[
{caption: "Month", uniqueName: "Month"},
{caption: "Region", uniqueName: Region"},
{caption: "Country", uniqueName: "Country"}
]
*/
Try on CodePen.