11.3.6.1 Managing Global Template Option Groups

Developers can define the purpose of related template options by creating template option groups. Examples of template option groups include Button Size, Button Style, List Examples, List Style, and Form Label Position.

11.3.6.1.1 Creating a Global Template Option Group

Global template option groups are defined at the theme-level and are available for all components of a given type.

When developers create a template option group, they can specify a template option preset at the template-level. For example, suppose you have a button template that has the template options Large and Small. If you define Small as the preset, then any new button referencing the template would automatically have the template option Small applied to it when is it created. Template options that are part of a group are optional unless defined at the template-level.

To create a global template option group:

  1. Navigate to the Themes page:
    1. On the Workspace home page, click the App Builder icon.
    2. Select an application.
    3. Click Shared Components.
    4. Under User Interface, select Themes.
    The Themes page appears.
  2. Select a theme.
  3. Locate Global Template Options.
  4. Click Edit Template Option Groups.
    Template Options Groups dialog appears.
  5. To create a group:
    1. Click Create.
    2. Edit the appropriate attributes.
      To learn more about an attribute, see field-level Help.
    3. Click Create.

11.3.6.1.2 Editing Global Template Option Groups

Edit global template option groups by navigating to the Themes page.

To edit global template option groups:

  1. Navigate to the Themes page:
    1. On the Workspace home page, click the App Builder icon.
    2. Select an application.
    3. Click Shared Components.
    4. Under User Interface, select Themes.
    The Themes page appears.
  2. Select a theme.
  3. Locate Global Template Options.
  4. Click Edit Template Option Groups.
    Template Options Groups dialog appears.
  5. To edit a group:
    1. Click the group name.
    2. Edit the appropriate attributes.
      To learn more about an attribute, see field-level Help.
    3. Click Apply Changes.
  6. To delete a group:
    1. Click the group name.
    2. Click Delete.