Data attribute references to primary elements
- Last UpdatedMay 21, 2025
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
In data references from an event frame template, you can refer to an attribute in an event frame's primary referenced element with the syntax:
.\Elements [.]|AttributeName
|
|
Indicates the current object, which is the event frame. |
|
|
Specifies the elements collection of the current object. |
|
|
Indicates the default object of the current object. In this case, it is the event frame's primary referenced element. |
|
|
Specifies the name of the attribute. |
For example, obtains the value of the attribute from the primary referenced element.
Note: This syntax is primarily used to reference PI point data references. For more information on assigning a static value to an attribute, see Use the Configuration Item attribute property, Define constant values for attribute templates, and Create attributes on event frames.