Dynamic links between aliases
When an alias is not used, a dynamic link that uses a relative reference or path from the parent node to the source node is created.
When you reference the
NodeIdproperty, the alias acts as an intermediary between the parent node and the source node.
In this example, the value of node
C3is set using the dynamic link to node
B2. On the left, a dynamic link references
../../B/B2. On the right, the alias is set on node
Cand the link uses the alias and references
To set up dynamic links, use aliases when the dynamic link source node and its child nodes exist at either:
- Design time. The dynamic link changes at runtime through dynamic logic in a widget.
An alias can be a shortcut for creating dynamic links to frequently used nodes. For example, use an alias as a shortcut to avoid looking up the same source node repeatedly. At design time, source nodes are grouped and easily accessible in the
dynamic linkswindow. At runtime, you must know the alias name to access the node to which it points. See APIs for aliases.
Have questions or feedback about this documentation? Please submit your feedback here.