11.3.6.3 Managing Template Options

Template options enable developers to declaratively apply CSS modifiers to the templates they have chosen for pages, regions, reports, lists, breadcrumbs, items and buttons.

11.3.6.3.1 Creating Template Options

Create a template option by declaratively modifying a template.

To create a template option:

  1. Navigate to the Templates 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 Templates.
    The Templates page appears.
  2. Select a template.
  3. Select Template Options.
  4. Click Add Template Option.
  5. Edit the appropriate attributes. To learn more about an attribute, see field-level Help.
  6. Click Create or Create and Add Another.

11.3.6.3.2 Editing Template Options

Edit an existing template option on the Templates page.

To edit a template option:

  1. Navigate to the Templates 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 Templates.
    The Templates page appears.
  2. Select a template.
  3. Select Template Options.
  4. Edit the appropriate attributes and click Apply Changes.

    To learn more about an attribute, see field-level Help.

    Tip:

    If you edit the name of a CSS class, all components that reference that CSS class name must be updated manually. The Option Identifier cannot be modified since it is needed for mapping purposes.

  5. To delete a template option, click Delete.
  6. To view global template options, expand Global Template Options.

11.3.6.3.3 Using Quick Edit to Modify Live Template Options

Using the Live Template Options dialog to alter a component's template options without refreshing the page.

Developers can also use Quick Edit on the Runtime Developer toolbar to access the Live Template Options dialog. Using the Live Template Options dialog, developers can alter component's template options without refreshing the page.

To access the Live Template Options:

  1. Run the page.
  2. From the Runtime Developer toolbar, click Quick Edit.
  3. Move the mouse over the component for which you want to modify template options. Click the Wrench icon in the upper right corner.

    The Live Template Options dialog appears. For region-based components, such as lists and classic reports, the dialog includes an Attributes tab.

  4. Select the appropriate tab, edit the appropriate attributes, and click Save.