...
Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getContextsForCustomField+-+1343619375 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | getContextsForCustomField(customfieldId) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
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 |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
customfieldId | String | Yes | The id of the custom field (format: customfield_xxxxx) | |
Return Type
String []
Example
Code Block |
---|
|
getContextsForCustomField("customfield_10041") |
Default Configuration Scheme for cb cf|ctx1|ctx2
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "cf_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|