Dynamic links between aliases

When an alias is not used,
FactoryTalk Optix Studio
creates a dynamic link that uses a relative reference or path from the parent node to the source node.
When you reference the
NodeId
property, the alias acts as an intermediary between the parent node and source node.
In this example, the value of node
C3
is 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
C
and the link uses the alias and references
{B}/B2
.
To set up dynamic links, use aliases when the dynamic link source node and its child nodes exist at either:
  • Runtime. Set up dynamic links as session nodes. See Sessions and locales
  • 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 window. At runtime, you need to know the alias name to access the node to which it points. See APIs for aliases.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.