Configure Dashboard Template
JSON Definition
Below is a sample JSON definition of a Portal dashboard template.
[
{
"id": "template-id"
"titles": [
{
"locale": "en",
"value": "Default template"
},
{
"locale": "de",
"value": "Standard Vorlage"
}
],
"descriptions": [
{
"locale": "en",
"value": "Create dashboard with 1 Task list"
},
{
"locale": "de",
"value": "Dashboard mit 1 Aufgabenliste"
}
],
"icon": "si-cog-double-2",
"dashboard": {
"id": "dashboard_id",
"templateId": "template-id",
"title": "Default dashboard",
"permissions": ["Everybody"]
...
}
}
]
The structure of JSON of dashboard template
id
: ID to identify the template, it is a mandatory field and has to be unique.
titles
: Multilingual title for the template in dialog Select your template.
descriptions
: Multilingual description of the template in the Select your template dialog.
icon
: Icon of the template item in dialog Select your template. Portal only supports Streamline icons, which can be found in the HTML Dialog Demo.
dashboard
: Details of the dashboard will be used as the template. Refer to Configure dashboard for details related to dashboard configurations.