options

Contains field elements that can be used to set options governing attributes of the owning field element. An option might, for example, be used to allow CUE users to specify a color to be associated with a particular field. The template developer can then use this color in rendering the content of the field. Option fields defined in this way are displayed on the Options tab in Content Studio's content item editor.

This element can also appear as a child of group and area elements in a layout-group resource file and has the same function, allowing you to associate formatting options with section page groups and areas.

Syntax
<options
    scope="(current|items)"?
  >
  <field>...</field>*
</options>

The following forms of the field element may be used: Basic field (Simplified), Boolean field (Simplified), URI field (Simplified), Schedule field (Simplified), Number field (Simplified), Link field (Simplified), Enumeration field (Simplified), Date field (Simplified), Collection field (Simplified).

Attributes
scope="(current|items)" (optional)

If the options element's owner is an area element in a layout-group resource file, then this attribute can be set to determine whether the options it defines apply to the area itself or to the items it contains.

Allowed values are:

current

The options apply to the options element's owning area.

items

The options apply to the items contained in the options element's owning area.