dimension.list
Lists every dimension in the model.
js
dimension.list()Returns
stringThe dimensions as a JSON string, read with JSON.parse(). Each dimension has an id and name.
Examples
js
const dimensions = JSON.parse(dimension.list());json
[
{ "id": "d-1a2b3c", "name": "Year" },
{ "id": "d-4d5e6f", "name": "Product" }
]