Manage Template Nodes
Last updated
Last updated
After applying the template, the template nodes can be edited, copied, or deleted by clicking on the Manage Template Nodes icon as shown below.
The 'Manage Template Nodes' pop-up shows all the templated nodes used in the model, including their name, whether they have replaced the nodes or were added as new nodes, and a list of actions to select from.
The number on the icon indicates the total number of templates applied in the model. In the example below, there are two templates applied to the model - one to replace the nodes and one to add new nodes.
Another way to open the datasource node editor and edit the templates is to use the shortcut icon near the node name.
The following actions are possible through the DataSource Node Editor window.
Add a new template to the model by clicking Add Rule to configure that template into the model.
Edit the applied templates.
You can change the template using the 'Select Template' dropdown.
To edit the level at which the template is applied, click on the 'Select Level' dropdown.
Templates can be applied to all the nodes or specific nodes using the filter.
Re-apply to different nodes using filter conditions.
Edit the Category and Member fields to change the filter conditions.
Add more than one filter condition and combine them using AND/OR operators.
You can delete a specific template by clicking on Delete beside that template rule.
In case of multiple template rules applied to the model, if they overlap, the latest added rule overrides the previous rules.
To remove the template completely and revert the model to its initial state, click on the bin icon that appears next to the applied template.
This option removes only the template references from the model and does not delete the actual template that had been created.
The template would still be available in the Templates window.
Alternatively, to delete the actual template, it is mandatory to remove its references from the model first, by using this option.
In case of dynamic children being added to the model (adding new nodes from data), you can apply the existing template rules to them.
Click on the Copy rule icon beside the template that you want to copy.
In the pop-up that opens, choose the dynamic nodes to which the existing template rules are to be applied. Click Apply.
This applies the templates to the newly added dynamic child nodes.
You can also click on the 'data source node editor' icon beside the node to configure a template for it manually.