Overview

The Pathfinder generates the AQS code for the path as you create it. When you are using the Pathfinder in Data Explorer the path code is automatically inserted into the query code used by Data explorer. You can examine the query code by accessing the AQS builder from within Data explorer.

alt text

Pathfinder can be used to help create path code that can be used within third party applications to help do this you can copy the path code if you want to use it in an AQS query. The code is copied to the clipboard and can be inserted into any application.

Copying path code

Pathfinder allows you to copy the path code in two ways using the copy path options.

  • Copy current path - this copies the code for the path of the designs or interfaces shown to the clipboard, this provides the context of the path.

    For example:

      root.attributes_defectsAssignableDefects<designs_exampleDefects>.attributes_defectsRaisingJobsRaisedJobs<designs_exampleJobs>
    
      root.attributes_defectsAssignableDefects<designs_exampleDefects>^attributes_jobsFixingDefectsFixedDefects<designs_exampleJobs>
    
    
  • Copy selected paths - this copies the code for the selected path displayed in the right hand panel, including all the attributes selected.

    For example:

    In this example specific attributes are included in the path statements.

      root.attributes_streetLightingUnitsUnitNumber
      root.attributes_streetLightingUnitsUnitType
      root.attributes_defectsAssignableDefects<designs_exampleDefects>.attributes_defectsDefectNumber
      root.attributes_defectsAssignableDefects<designs_exampleDefects>.attributes_defectsStatus
      root.attributes_defectsAssignableDefects<designs_exampleDefects>.attributes_defectsDescription
      root.attributes_defectsAssignableDefects<designs_exampleDefects>^attributes_jobsFixingDefectsFixedDefects<designs_exampleJobs>.attributes_jobsJobNumber
      root.attributes_defectsAssignableDefects<designs_exampleDefects>^attributes_jobsFixingDefectsFixedDefects<designs_exampleJobs>.attributes_tasksDescription
      root.attributes_defectsAssignableDefects<designs_exampleDefects>^attributes_jobsFixingDefectsFixedDefects<designs_exampleJobs>.attributes_tasksStatus