Node instancing statements
- Last UpdatedSep 03, 2025
- 2 minute read
This topic contains the template statements for node instancing and customization.
Node creation <createnode />
The createnode is the node used to actually create logical nodes inside the template.
Type and name attributes are mandatory, while the other attributes depend on the type of instanced node. Please refer to the documentation page for the corresponding node type.
|
Attribute |
Use |
Description |
|---|---|---|
|
name |
Mandatory |
The name of the node to be created. This value is usually based on the name passed in the editor. |
|
clashMode |
Optional |
Defines the policy to use when a node of same type and name is already present. Can have the following values:
When not explicitly set, it applies the default behavior. |
|
noClone |
Optional |
The default value is false. When set to true, this attribute prevents the created node from being cloneable. |
|
noCloneFields |
Optional |
Allows you to specify a comma-separated list of fields that must not be overridden with source node values when cloning a templatized node. This way, the node will keep the value provisioned by the template. |
|
type |
Mandatory |
The node type of the created node. |
The patching node <patchnode />
The patchnode is the node used to patch an already created node.
In several cases, for different reasons, a node does not allow setting all the fields at definition time. In these cases, you can use the patchnode statement to further customize the node.
As for the case of createnode, the other available attributes depends on the node type.
|
Attribute |
Use |
Description |
|---|---|---|
|
name |
Mandatory |
The name of the node to patch. |