Skip to main content

Pathfinder

Select attributes on connected designs/interfaces

When configuring a query, use the Pathfinder to explore available attributes and select which ones to include in the results.

Browse the attributes of the queried design/interface. You can also visit any designs/interfaces linked to it:

  • Follow a Link attribute to visit a child design/interface.

  • Navigate to a parent design/interface with a Link attribute that points to the current one.

You can repeat this in either direction for any number of possible "hops". This lets you select multiple attributes across multiple connected designs/interfaces.

Open the Pathfinder

The Pathfinder appears whenever you need to specify an attribute path. For example:

Key features

An overview of the Pathfinder with key areas marked by numbered red circles

1 Attributes

By default, the left-hand list shows the attributes of the current design/interface. When you hop to a linked design/interface, the list updates to show the new set of attributes. Use the top search box to filter the list by keyword.

Select any attributes you want to include in the query results. For Link attributes, see below.

info

In the two contexts below, this list shows linked designs/interfaces or standard paths instead.

2 Navigate

To hop to a parent or child design/interface, select Navigate in the left-hand list. Choose a design/interface, then choose a Link attribute that connects it to the current design/interface. To learn more, see Navigating paths.

3 Standard paths

For a list of predefined shortcuts to attributes on connected designs/interfaces, select Standard paths in the left-hand list. Select a standard path to include the target attribute in the query, without leaving the current design/interface. To learn more, see Using standard paths.

Select a Link attribute's arrow to hop to the corresponding child design/interface. The left-hand list will update to show the attributes of that design/interface. To learn more, see Quick path selection.

To include a Link attribute itself in the query results, select its arrow and then Select this. When the query runs, this returns any Item IDs stored in the attribute. In the Data Explorer, the attribute value appears as a single item or an X results link.

Animation showing how to select a Link attribute
info

Selecting a Link attribute does not automatically select any attributes on the child design/interface, and vice versa.

5 Path graph

As you hop between designs/interfaces, the path graph provides a visualisation of the path you've taken. Select a previous design/interface to return to it. The initial design/interface always appears at the top.

6 Selected attribute paths

As you select attributes in the left-hand list, they appear in the right-hand list, grouped by design/interface. This helps you keep track of which attributes are included in the query and their processing order. To deselect an attribute, select its Remove button.

7 Menu actions

To perform an action, select Menu at the bottom:

  • Copy current path - copy the path visualised in the path graph to your device's clipboard.

  • Copy selected paths - copy the paths of all the selected attributes to your device's clipboard.

These can be useful when using the Alloy API. Define paths visually with the Pathfinder, then copy them into the relevant part of an AQS query.

Example outputs

Based on the following image:

  • Copy current path

    root.attributes_defectsAssignableDefects<designs_treeDefects>.attributes_defectsRaisingJobsRaisedJobs
  • Copy selected paths

    root.attributes_groundsAssetsReferenceNumber
    root.attributes_treesLocationDescription_5dfa13c5ca31500cec413ec9
    root.attributes_treesTreeProtectionOrder
    root.attributes_assetsInstalledDate
    root.attributes_defectsAssignableDefects<designs_treeDefects>.attributes_defectsDefectNumber
    root.attributes_defectsAssignableDefects<designs_treeDefects>.attributes_defectsReportedDate
    root.attributes_defectsAssignableDefects<designs_treeDefects>.attributes_defectsDescription
    root.attributes_defectsAssignableDefects<designs_treeDefects>.attributes_defectsRaisingJobsRaisedJobs.attributes_jobsJobNumber
The Pathfinder showing multiple attributes selected across multiple designs/interfaces

8 Done button

When you're finished, select Done to save your changes. To leave without saving, select Close in the top-right corner.