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

PI Builder (PI Server 2024 R2)

Reset attributes to template specification

  • Last UpdatedJan 11, 2023
  • 2 minute read

Retrieve the attributes that you want to reset into your worksheet. Be sure to include the AttributeValue and AttributeDataReference columns.

You can use PI Builder to reset attributes derived from templates to the specification in the template. Specifically, PI Builder can reset the values of attributes and the configurations of attribute data references to those in the template.

  1. Select the cells that correspond to attributes that you want to reset to the template specification.

    • If the attribute contains a data reference, select cells in:

      • AttributeDataReference column of attributes shown in rows

      • Attribute column of attributes shown in columns

    • If the attribute contains a constant value, select cells in:

      • AttributeValue column of attributes shown in rows

      • Attribute column of attributes shown in columns

    • Alternatively, select:

      • Rows that correspond to an attribute to reset all those attributes

      • Columns that contain attributes to reset that attribute for all objects in the worksheet

      • AttributeDataReference or AttributeValue columns to reset all attributes in the worksheet

    Note: When you reset a data reference to the template specification, PI Builder resets the configuration string to the template value and ignores any change to the AttributeConfigString column in the worksheet.

  2. On the PI Builder tab, in the Build group, click Reset to Template.

    PI Builder writes <Template> in the selected cells to mark the corresponding attributes for resetting to template specification.

    You cannot use PI Builder to set the value of an attribute to the string "<Template>" unless the attribute is not based on a template and the attribute type is String.

  3. Place an X in the Selected(x) column of any object that contains attributes you marked to reset to the template specification.

  4. Publish the changes to PI AF:

    1. On the PI Builder tab, click Publish to open the Publish Options window.

    2. From the Edit Mode list, select Edit Only to guard against mistakenly creating new objects.

    3. Click OK to publish the changes to PI AF.

      If any of the selected objects do not already exist, PI Builder generates an error.

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