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

« Previous Version 9 Current »

Used to format options in the Domain Single Selection fields. A JavaScript expression executed in Field Execution Context with two additional variables.

Name Type

Return type

Description

`record`

(object)

a domain record for the current option

`displayValues`

Array<string>

an array with values of attributes defined in 'Display attributes' setting

Example:

For a PARAM.REGTYPE field specify these attributes in the Display Attributes setting:

100601,14901-100001

Then enter the following code in the Label Formatter setting:

displayValues[0] + ' (' + displayValues[1] + ')'

The dropdown list will show the name of the Registration type, followed by the corresponding client type in parentheses.

Such as:

  • LLC - Limited Liability Company (Business)

  • Non-Profit (Business)

  • Individual (Person)

  • No labels