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

CONNECT data services

How tokens are used to generate assets

  • Last UpdatedApr 19, 2024
  • 2 minute read

When creating asset rules, use tokens to represent the parts of an asset name. A token is a placeholder for a part of the naming pattern and used to construct an asset and add references to the relevant streams.

The following screen capture shows the Configure Asset window for the Tank Rule A example in Create an asset rule. The numbers identify the different fields and the tokens assigned to those fields. These tokens are used to configure the assets created with the rule.

Configure Asset menu showing numbered items for Id, Name, Description, and Stream reference name.

The following table shows the token definitions for the Tank rule and the resulting values for one of the assets (Tank 01) when the rule is applied.

#

Configuration field

Token definition

Values for the Tank 01 asset

Id

{site} {equipment_type}.{equipment_id}

San Leandro Tank.01

Name

{equipment_type} {equipment_id}

Tank 01

Description

{site}

San Leandro

Stream Reference Name

{equipment}

Pump

The screen capture below displays the three assets that were created with the example Tank rule. The numbers identify the properties of Tank O1 that are derived by applying the asset rule. Refer to the table above to match the value with the configuration field and token definition.

Screen capture of three assets, with number 2 next to Tank01 and number 3 next to the description of Tank01. The numbers align with the previous table.

The following screen capture is an example of what you might see when you edit the Tank 01 asset in Asset Explorer. The numbered fields—asset name, Id, description, and stream references—are generated by the asset rule. For example, the _{site} {equipment_type}.{equipment_id} expression is used to generate the San Leandro Tank.01 Id.

The edit screen in Asset Explorer with numbers to identify certain fields. 1: asset Id. 2: Asset Name. 3: Asset Description.

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