Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getContextsForCustomField+-+1343619375
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getContextsForCustomField(customfieldId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns the list of contexts (their names) for a certain custom field

Returns the list of contexts for a certain custom field

Parameters

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

Parameter name

Type

Required

Description

customfieldId

String

Yes

The id of the custom field (format: customfield_xxxxx)

Return Type

String []

Example

Code Block
languagejs
getContextsForCustomField("customfield_10041")

Default Configuration Scheme for cb cf|ctx1|ctx2

See also

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