Skip to end of banner
Go to start of banner

changeFilterOwner

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Syntax

changeDashboardOwner(oldOwnerName, newOwnerName, dashboardName, transferFilters)

Description

Changes the ownership of an existing dashboard.

Parameters

Parameter name

Type

Required

Description

oldOwnerName

string

Yes

The username of the current/old owner of the dashboard

newOwnerName
stringYesAn username the new owner of the dashboard
dashboardName
stringYesThe dashboard name
transferFiltersbooleanYesIf true, all filters used by the dashboard will get transferred to the new dashboard owner

Return type

boolean

Returns true if the ownership was successfully changed.

Example

boolean success = changeDashboardOwner("jdoe", "admin", "Project status board", true);


See also

  • No labels