Find elements using advanced search

You can build queries to find an element and see a list of all its values. This is useful if you want to check that the correct values are being used for an element.

You can use any combination of the following search parameters when you select the Show Elements option.

What you can find
You can use XPath expressions to search. An XPath expression is analogous to an SQL query used to select records from a database. With XPath you are selecting strings from an XML tree of nodes.
For example, if you're searching for all the uses of trademarks, in Value you would use: //tm

Where you can find it
You can search the current topic or a set of topics for elements.

Tips and tricks

  • If the content you need to run an advanced query on is split up across different folders with different sets of permissions, and you don't want to search all folders, you can select the individual components to perform an advanced search on. Follow the steps in Use advanced search on components instead of folders.
  • To create a query that finds topics being followed, use the steps in Search for topics being followed.
  • Using parenthesis. Inspire recognizes a parenthesis character ( ) as something that indicates a grouping of search items. If you want to search for a text value that actually contains a parenthesis character ( ), you must tell Inspire to interpret it literally. To do that, use a slash \ before any parenthesis character ( ). For example, if you want to search for the following value: Chapter1_Intro(with_endnotes), in the Search for box you would enter Chapter1_Intro\(with_endnotes\).

To find elements:

  1. Click Components.
  2. In the Folders pane, select the specific folder that you want to search.
    If you want to search multiple folders, select the parent folder that contains all the folders.
  3. On the Components pane, in within, choose one of the following folder options.
    • Current Folder
    • Current and Subfolders
    • All Folders
    • Selected Components

  4. On the Components tab, in the Components pane, click the advanced search magnifying glass .
  5. Complete the following sub steps using the query builder to add or verify search parameters.
    1. In the Field list, select Advanced Content.
    2. In the Operator list, select the equal sign (=) to find a value or the not equal sign (<>) to exclude a value.
    3. In the Value field, enter the element you're searching for.
    4. Under the And/Or column, select Show Elements.
    5. Optionally, you can click Add add_clause to add another search parameter.
      If you have multiple parameters in the query, choose the appropriate criteria from the And/Or list.
      To group search parameters, select the checkboxes for two or more consecutive parameters and click Group selected clauses.
  6. Click Search search_button.
    You can see the results in the Elements pane.

  7. To save the list of components that match the search as a CSV file, click Save as CSV ExportCSV.