Embed Px files with ord variables using PxInclude

This example illustrates embedding Px files with ord variables using a PxInclude widget.

  • Have two relativized Px views.

In this example, there are two relativized views, Child 1 and Child 2 to include in the master Px file.

  1. Edit the relativized ords in your Px views to use the $(variablename) syntax in place of the actual ords, for example: $(Child1)/Variable1.
  2. Save the Child 1 and Child 2 Px files.
  3. Create another folder named, Master and add a Px view.
  4. Drag the Child 1 folder onto the Master Px view.
  5. In the Make Widget wizard, select the Include Px File option, and use the File ord Chooser to select the Child1Px.px file and click OK.
  6. Select variable to bind, Child 1, and click OK. The PxInclude widget’s properties.


  7. Repeat the steps 4–6 above using the Child 2 folder.
  8. Switch to View mode to see the embedded Px files with ord variables. Use the Actions menu to affect the changes: