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