Templating Screen Components can be used to achieve a modular Screen structure. For example, they can be used to include a Screen into another Screen.
The Include Component includes another Screen into the current Screen. This actually renders the included Screen as part of the current Screen and is thus different from a Web Include, which only includes a frame showing the included page.
Instead of adding this Component to your Screen, it is often simpler to scroll down to the Screen section in the Components Library, or filter for the Screen you want to include, and then drag and drop the Screen directly. This will create a fully configured Include Component.
Properties tab:
- Screen – Screen to be included in the currently opened Screen.
The Include component does not allow including a Screen in itself, In this case, it displays an error message.
- Screen Action – Instead of a static definition of the Screen to be included, this property can be used to reference a "Screen Action" generated by a Rule.
Variable Assignments tab:
Variable Assignments are used when other Screens are included in the current Screen, therefore this tab is only visible if the included Screen has a Variable of type Assigned. Since the included Screen may use a different set of variables (with different variable definitions), Variable Assignments can be used to assign values to the variables of the included Screen. See the Variable and Scopes article for more details.
Be aware that local (private) variables in an included Screen may not be used to retain data between the different Screen Life Cycle phases. Since the variable scope of the included Screen is created and dropped in every phase, the data stored in local variables is lost at the end of a phase. The same warning also applies to the
Template component.
A Placeholder is an element that is replaced with content from another Screen during the rendering of the current Screen. In order to identify different Placeholders, you need to name them. See the Template section for information on how to use Placeholders.
Properties tab:
- Name – Unique name with which this Placeholder can be identified.
A Template component is similar to an Include component, but instead of including another Screen, it injects the Template Areas of the current Screen into the Placeholders of another Screen.
As an example, consider the following situation:

The Screen called 'Form' has a Template component that uses a Screen called 'Template'. 'Template' contains a layout with a Logo and two Placeholder components called 'TITLE' and 'CONTENT'. Now that 'Form' uses this Template, it needs to specify with what the two Placeholders will be filled. This is done by creating two Template Area components that contain the actual title and the actual content.
When 'Form' is rendered to HTML, the renderer starts by rendering 'Template'. As soon as it reaches one of the Placeholders, it goes back to 'Form' and copies the content of the corresponding Template Area component into the Placeholder, thus assembling the final HTML result:

That way, several different Screens can reuse the same basic layout.
Instead of directly adding a Template component, it is often easier to scroll down through the list of Components, or filter the list of Components for the name of the Template you are looking for, and then drag the Template Screen into your Screen. That way, all Template Areas will be set up properly.
Be aware that local (private) variables in a Screen used as a Template may not be used to retain data between the different Screen Life Cycle phases.
Properties tab for Template:
- Screen – Screen used as a Template for the currently active Screen.
Properties tab for Template Area:
- Name – Template Area name, which is used to match it to a Placeholder.
- For general information on Screen Component configuration, see the Screen Components: Properties article.
- For general information on Screens and Screen configuration, see the Screens article.