Syntax
addDashboardToFavorites(ownerName, dashboardName)
Description
Adds a dashboard to user's favoritesParameters
Parameter name | Type | Required | Description |
---|---|---|---|
ownerName | string | Yes | The username of a user |
dashboardName | string | Yes | The name of a dashboard |
Return type
boolean
The result of operation
Example
boolean result = addDashboardToFavorites("admin", "dashboard for Agile project");
See also