Component

The Component element enables you to embed a different Template within the current Template.
You can add the Component element to embed a Template to the main Template.
To add a Component:
Click or drag the Component element from the Element Panel.

A blank Component element appears in the Workspace Pane.

Setting up a Component includes the following actions:
Selecting the Template
Selecting the Target version of the Template
Selecting the Behavior
To set up the Component:
Click in the .

The Select Template dialog appears.

Templates under the following categories can be added as a Component:

Published Templates
Bookmarks
Private Templates (not recommended)
You can also use the search and filter options available to narrow down your search further.

Select the required Template from the list.

Select the Target version of the Component Template.

You can select a specific version (1.0.0) or the version family (1.x.x or 1.0.x).
The following options are available:
Current Version: This option ensures that the Current Version is always chosen. In the example above, the Current Version is 1.0.0. Whenever the Current Version of the Template changes, it is automatically reflected in the Target version.
Medium Version (1.x.x): When you select, 1.x.x, for every medium version increment of the Template (1.1.0, 1.1.1, 1.1.2.....1.2.0, 1.2.1, 1.2.2, .....1.3.0, 1.3.1, 1.3.2,...), the Component Template is automatically updated in the main Template.
Minor Version (1.0.x): When you select 1.0.x, for every minor version increment of the Template (1.0.1, 1.0.2, 1.0.3, 1.0.4,...), the Component Template is automatically updated in the main Template.
Warning
When you select a version family, the Component is not automatically updated for major version updates of the Template (1.0.0, 2.0.0, 3.0.0,...).
For example, if it is linked to a family version 1.x.x and a new version 2.0.0 is available, the Component Template does not get updated automatically.
Specific Version: When you select a specific version, the selected version of the Template is used in the Component. In the below example, the specific version 1.0.0 is used. Even when newer versions of the Template (2.0.0, 3.0.0,...) are available, the version used in the Component still remains as 1.0.0.

Note
The Target version dropdown is not available for Private Templates.
Click .

The Component Template is added to the main Template.

[Optional] Click to change the selected Component Template.
Select a Behavior for the Component Template.

There are four options available as highlighted in the image above:
Replace On Run: The Component Template is launched at the same level as the main Template.
Partial Replace On Run: Select some Steps of the selected Component Template.
Insert On Validate: The embedded Component Template is launched as the child Steps.
Partial Insert On Validate: Selected Steps of the Template are launched as a child Steps.
Note
Replace On Run is selected by default.
The determines how the embedded Template is executed at Run Time.
![]() |
The different Behaviors are explained as follows:
Replace on Run: This option causes the embedded Component Template to be launched at the same level as the main Template Steps. The Steps of the Component will be executed as individual Steps and not as Child Steps.

Partial Replace on Run: This option allows you to select some Component Template Steps to be executed.
The example below highlights the Steps in the Component Template.

Select the Behavior option as . You can select part of the Component Template as shown below.


The button clears your selection and includes all the Steps of the Component Template.

Note
When a Child Step is selected, corresponding Parent Step is also selected.
When a Parent Step is selected, the associated child Step(s) are also selected.
The selected Steps are displayed in the Workspace Pane and the Execution Preview of the Template as shown below.

During Runtime, only the selected Steps for the Behavior Partial Replace on Run are executed.

Insert on Validate: This option causes the embedded Template to be run as a child Step.
When this option is selected, a text box appears. Selecting the HTML option enables advanced text formatting capabilities.

The text entered appears on the Component Step as shown.

At Run Time, the Step button is displayed. This allows you to execute the Component Template.

The embedded Template is launched as a child Step. The Steps of the embedded Component are displayed as the Child Steps of the main Template.

Partial Insert on Validate: This option causes the selected section of the Template to be run as a child Step of the Template.

Select part of the Component Template as shown in the example below.

Click Execute Template to execute the Steps selected from the Component.

During Runtime, only the selected Steps for the Behavior Partial Insert on Validate are executed.

Note
Execute Template is a button that appears when Behavior is selected as or .
There are some features that can be performed on the Component.
Only Templates can be child Steps of a Component.
Note
You cannot link a part of a Template to a Component.
Warning
Using only the Published Template embedded within a Component element is recommended. A Template with an empty Component element cannot be saved.