[starting from version: 2.9]
getAllHierarchiesAsync(): Promise<Object []>
Returns a Promise object that resolves to an array of all available fields. See the array’s structure in getAllHierarchies.
pivot.getAllHierarchiesAsync().then(allHierarchies => {
allHierarchies.forEach(
item => console.log(item);
);
});
/* getAllHierarchiesAsync method returns array of objects
[
{
"caption": "Category",
"sort": "asc",
"uniqueName": "Category",
"type": "string"
},
{
"caption": "Size",
"sort": "asc",
"uniqueName": "Size",
"type": "string"
},
...
]
*/
See an example on JSFiddle.
getAllHierarchies
getAllMeasuresAsync
getMeasuresAsync
getRowsAsync
getColumnsAsync
getReportFiltersAsync