Syntax
createDashboard(filterName, filterDescription, filterQuery, ownerName)
Description
Creates a dashboard with name, owner and descriptionParameters
Parameter name | Type | Required | Description |
---|---|---|---|
dashboardName | string | Yes | The dashboard name |
owner | string | Yes | An username or key of the dashboard owner |
description | string | No | The dashboard description |
Return type
number
Returns the id of the created dashboard.
Example
number dashboardId = createDashboard("dashboard for Agile project","admin");
See also