12.3.8 Managing Templates

Manage templates by navigating to the Templates page in Shared Components.

12.3.8.1 Viewing Templates on the Templates Page

View templates on the Templates page in Shared Components

To view existing templates:

  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. To view or edit a template definition, click the template name.
    The template definition appears.
  3. Edit the appropriate attributes. To learn more about an attribute, see field-level Help.

    If you edit a template, you can make changes in one window and run your application in another by selecting the Return to Page check box on the right side of the template definition page. Selecting this check box keeps the page you are editing current after you click Apply Changes.

  4. Click Apply Changes.

12.3.8.2 Viewing Templates Associated with a Specific Page

View templates associated with a page by viewing the Page Designer.

To view templates associated with a specific page:

  1. On the Workspace home page, click the App Builder icon.
  2. Select an application.
  3. View the page in Page Designer:
    1. In the Rendering tab, click the page title.
    2. In the Property Editor, locate Appearance. Page Template displays the current template.
    3. To save any changes, click Save.

12.3.8.3 Replacing Templates

Update the template associated with a component using the Replace Templates Wizard.

To replace the template associated with a component:

  1. On the Workspace home page, click the App Builder icon.
  2. Select the application.
  3. Click Shared Components.
  4. Under User Interface, select Templates.
    To customize the view, use the Search bar at the top of the page.
  5. From the Task list, select Replace Templates.
  6. For Template Type:
    1. User Interface- Select user interface.
    2. Template Type - Identifies the template type to be replaced.
    3. Click Next.
  7. For Replace Templates:
    1. Change From - Select the template you want to change.
    2. Change To - Select the template you want to change to.
    3. Click Next.
  8. Click Finish.

12.3.8.4 Replacing All Templates within an Application

Replace all templates within an application with templates from another application.

To replace all templates within an application:

  1. On the Workspace home page, click the App Builder icon.
  2. Select the application.
  3. Click Shared Components.
  4. Under User Interface, select Templates.
    To customize the view, use the Search bar at the top of the page.
  5. From the Task list, select Replace templates in this application with templates from another application.
  6. For Replace Templates:
    • Replace from Application - Select an application.
    • User Interface - Select the type of user interface for which this application has been developed.
    • Click Next.
  7. On Replace Templates, select a New Template for each component and then select an Action:
    • Replace copies the template definition
    • Replace/Subscribe copies the templates and adds a subscription.
  8. Click Replace Templates.

12.3.8.5 Viewing Region Position Utilization by Page Template

View region position utilization by page template.

Regions are organized on a page by position (or Display Point). The possible display points for a region are determined by the page-level template.

To view region position utilization by page template:

  1. On the Workspace home page, click the App Builder icon.
  2. Select the application.
  3. Click Shared Components.
  4. Under User Interface, select Templates.
    To customize the view, use the Search bar at the top of the page.
  5. From the Task list, select View page template region position utilization.
    The Region Display Point Utilization report appears.

12.3.8.6 Unsubscribing to Templates

Unsubscribe to templates.

A subscribed template is a template that has its definition maintained in another template referred to as the referenced template. If your application uses subscribed templates, you can unsubscribe to templates on the Unsubscribe Templates page.

To unsubscribe to templates:

  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. From the Task list, select Unsubscribe Templates.
    The Unsubscribe Templates page appears.
  3. Select a theme.
  4. To unsubscribe to a specific template type within the current theme, select the template type and click Unsubscribe.

12.3.8.7 Publishing Templates

Publish master template content to subscribing templates.

Use the Publish Templates page to view templates that are subscribed to by other templates in your workspace.

To publish master template content:

  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. Click the Publish tab.
    The Published Templates page appears.
  3. Select those you want to publish and click Publish Checked.