Dashboard is an ordered list of indicators and indicator drill pairs.
...
Key | Type | Optionality | Description | Constraints |
---|
type | string | | type identifier, always indicator | [indicator] |
indicator | string | | URL link to the indicator object | /rest/projects/$projectId/md/indicators?name={indicatorName} |
indicatorDrill | string | | URL link to the indicator drill object | /rest/projects/$projectId/md/indicatorDrills?name={indicatorDrill Name} |
layout | string | | layout of the indicator when not specified, the indicator's layout is primary | [primary, secondary] |
collapsed | boolean | | determines if the indicator should be collapsed when entering the view |
|
itemId | string | | Generated ID for this item to be used for matching it within a parent array while rebasing share objects. For more details see content.**.itemId section below. | [a-z0-9]{32} |
...
Key | Type | Optionality | Description | Constraints |
---|
type | string | | type identifier, always blockRow | [blockRow ] |
blocks | array | | array of indicator and indicator drill pairs | size = 2 |
itemId | string | | Generated ID for this item to be used for matching it within a parent array while rebasing share objects. For more details see content.**.itemId section below. | [a-z0-9]{32} |
content.
blockRows.
indicatorGroup
A number of indicators in a named collapsible group.
Key | Type | Optionality | Description | Constraints |
---|
type | string | | type identifier, always indicatorGroup | [indicatorGroup] |
title | string | | title of the indicator group | (*) |
description | string | | description of the indicator group | (*) |
collapsed | boolean | | determines if the group should be collapsed when entering the view | [true, false] |
blockRows | array | | array of either: see the syntax example above |
|
itemId | string | | Generated ID for this item to be used for matching it within a parent array while rebasing share objects. For more details see content.**.itemId section below. | [a-z0-9]{32} |
content.
blockRows.categories
The syntax of categories block on dashboard is identical to the regular categories syntax. See indicatorDrill.content.blocks.categories
.
...
Key | Type | Optionality | Description | Constraints |
---|
dataset | string | | URL link to the dataset, whose properties will be set | /rest/projects/$projectId/md/datasets?name={datasetName} |
defaultSearch | string | | specifies if the dataset will be enabled in Refine search enable = dataset will be enabled disable = dataset will be disabled auto = dataset will be enabled if its features are visible in the map | [enable, disable, auto] |
featureAttributes | array | | array of dataset.properties.featureAttributes |
|
itemId | string | | Generated ID for this item to be used for matching it within a parent array while rebasing share objects. For more details see content.**.itemId section below. | [a-z0-9]{32} |
content.**.itemId
Generated ID for this item to be used for matching it within a parent array while rebasing share objects. itemId
is genrated as hash from random UUID when given item is being created - either an entire dashboard is being created or an item is being added to MD object content via update. Once itemId
is generated it is not supposed to be modified.
...