optionListName

Specifies the name of an option list.

For standard metadata fields, this is the name of the internal option list (see Internal Option Lists).

For custom metadata fields, this is the name of the field with a suffix of .options.

Type and Usage

Output

Returns the option list name.

Example

Sets the option list name to docAuthors if the field is not restricted to a single user:

<$if SingleUser$>
    <$isInfoOnly = 1$>
  <$else$>
    <$fieldIsOptionList = 1, optionListName = "docAuthors"$>
    <$if HasExternalUsers$><$fieldOptionListType= "combo"$>
    <$endif$>
<$endif$>

Defines the default option list script:

<$if optionsAllowPreselect and fieldValue$>
    <$defaultOptionListScript = "<$optList " & optionListName & ":fieldValue$>"$>
<$else$>
    <$defaultOptionListScript = "<$optList " & optionListName & ":noselected$>"$>
<$endif$>

See Also