Relativize absolute ORDs

Open the Relativize ORDs dialog box from the Bound ORDs palette. This Px Editor tool provides a convenient way to change absolute ORDs to relative ORDs.

When you use the Px Editor tools to bind data, the ORD is usually supplied in an absolute format, by default. For example, station:¦slot:/Logic/HousingUnit/AirHandler/DamperPosition. If you change the data binding to make it relative, then the path will resolve relative to its current parent ORD. This relative path makes the Px file resolve data bindings correctly to identically named components that reside in different locations, making this one Px file reusable in many views. For more information, see About relative and absolute bindings.

Relativize absolute ORDs

  1. Open an existing Px view that contains one or more widgets with bindings that have absolute ORDs.
  2. In Edit mode, in the Bound Ords area confirm that there are absolute ORDs.
     

    TIP: An absolute ORD is relative to the station and shows the entire file path from the station’s Config node.
     
  3. In the Bound Ords area, click the Relativize Ords button.
    The Relativize Ords dialog box displays, listing all of the ORDs that can be relativized.
  4. Click OK.
    The Bound Ords area, you can see the shortened file path of each relativized ORD. The ORDs are relative to the current parent ORD.

The following image illustrates relativizing absolute ORDs: Image