Skip to end of banner
Go to start of banner

shareDashboard

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

shareFilter(filterId, shareType, param1, param2)

Description

Changes the ownership of an existing filter.

Parameters

Parameter name

Type

Required

Description

filterId

number

Yes

The id of the filter to share

shareType
stringYesOptions are GLOBAL, GROUP, PROJECT, PROJECT_UNKOWN
param1stringYesName or ID of group or project that filter should be shared with
param2stringYesName of ID of project role when sharing with project

Return type

boolean

Returns true if the filter was successfully shared.

Example

boolean success = shareFilter(1000, "PROJECT", "TP", 10200)


See also

  • No labels