Previous Next JavaScript must be enabled to correctly display this content

## 3.5.4 Template Components

Use Template Components to create reusable UI components that work in Page Designer like any other plug-in.

Template Component are a new plug-in type for building re-usable UI components with support for actions, menus, and custom attributes within Page Designer. These components can be rendered standalone as regions displaying one or multiple rows of data, and can also be within reports as partials for a column.

Attributes defined in the plug-in are editable in Page Designer for any column or region using the plug-in type. With the introduction of Action Positions and Action Templates for plug-ins, you can define Actions and Menu buttons with row-level conditions for Template Components.

Template Components enable developers to add new region types to APEX that are not based on PL/SQL. New regions based on template components can:

- Display instantly as multiple or single rows
- Remember pagination
- Use faceted search and smart filters
- Support the external Order By
- Support single and multiple row selection as well as keyboard navigation for navigation and selection
- Support a grouping of report data

A Template Components plug-in Type contains an HTML template and includes support for template directives. Template directives are special tokens in a template that control how the text around them is processed.

Tip:

To learn more about Template Component Type plug-ins, see About Template Component Type Plug-ins

Parent topic: How Oracle APEX Uses Templates