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