Additional documentation and examples to reference non-primary referenced Elements on Event Frames Templates
Some users asked for an enhancement of the documentation/ guide videos regarding syntax for referencing a non-primary element on a PI Point attribute from Event frame templates. The OSIsoft live guide does not provide enough information and/or examples about this and may lead to confusion.
As an example, one customer wanted to create an attribute on an Event Frame Template referencing a Pi point attribute belonging to a non-primary reference element at the same level as the primary element on the AF elements hierarchy. In order to do this, it is necessary to use the following syntax and logic:
.\Elements[.]...[@Name = <Non Primary Element>]|<Attribute>
This sets the start as the primary element, .\Elements[.], moves up one level, ..\, then down a level and chooses the non-primary reference element by using the syntax .[@Name = <Non Primary Element>]. In that element, you proceed to reference an attribute as follows: |<Attribute>

-
BradR commented
All documentation referencing event frames needs improvement. Regarding tis enhancement request, referencing attributes in parent and child elements is confusing. I've called in and had tech support struggle with this. Needs much work in documentation.