Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Asset Framework and PI System Explorer (PI Server 2024 R2)

Attribute references in String Builder

  • Last UpdatedMay 21, 2025
  • 1 minute read

To reference other attributes, you use the syntax in the following table.

Object

Syntax

Sibling attribute

siblingAttribute

Top level attribute of same element

|topLevelAttribute

Parent attribute

..

Parent element attribute

..\|myAttribute

Child attribute

.|childAttribute

From event frame to primary element

.\Elements[.]|myAttribute

Database relative path

\TopLevelElement|myAttribute

Full path

\\myServer\myDatabase\myElement|myAttribute

Examples

Suppose you want to retrieve the Environment PI point value from the Cracking Process parent element:

A screenshot of the PI System Explorer window with the Cracking Process parent element selected in the Elements tree, and the Environment attribute highlighted to the right on the Attributes tab.

In the child element Equipment, you would use the syntax ..\|myAttribute and enter '..\|Environment' in the String Builder Data Reference window:

A screenshot of the String Builder Data Reference window open and an example of the syntax used to retrieve the Environment PI point value from the Cracking Process parent element.

A value similar to the following is displayed in the Value field: 43.3071403505214.

TitleResults for “How to create a CRG?”Also Available in