Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admGetFavouriteFilters(userId)

Package

adm

Alias

Pkg Usage

[use adm; favouriteFilters(userId);]

Description

Excerpt
hiddentrue
Gets all favourite filter for an user.

Gets all the filters for an user, favorited by the user. The user provided there is not necessarily the owner of the filters

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

userId

string

Yes

The user

Return Type

JFilter []

Example

Code Block
languagejs
JFilter [] ownedFilter = admGetFavouriteFilters(currentUser());

Gets all the favourite filters of the user

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "filter_routine" and space = currentSpace ( )
labelsarray_routines