Update a saved query

If you are the query owner or an administrator, you can modify an existing query by opening it, changing its parameters, and adjusting shared query access as needed.

To make advanced search queries reusable and easier to share, in Value, you can select the option called Me(Current User). This option displays results for the user currently running the query, not the user who created it.
  • The Me(Current User) option is available only for Advanced queries where Value requires a user.
  • For example, if in Field you select Locked by.

Topics in this article:

  • To open a saved query
  • To edit a saved query
  • To share and save your updated query

To open a saved query

  1. Click Components.
  2. To open the query builder, click Advanced search advanced_search_icon .
  3. To open a query to update:

To edit a saved query

  1. In the Field list, select what part of a component you want to search in. For example, if you want to search only in DITA concepts, in Field, you can select Component Type, and in Value, you can select Concepts.
  2. In the Operator list, select one of the following options:
    • If you're searching for an exact value, select =
    • If you want to exclude a value, select <>
    • If you're searching for a tag or attribute that isn't limited to set values,
      • To find any partial match of a keyword or phrase, select Contains, Starts with, or Ends with
      • To exclude any partial match of a text string, select Does not contain, Does not start with, or Does not end with
  3. In the Value list, select what you want to aspect of a component you want search in.
    What you can select in Value depends on what you've chosen in Field. If you don't see the value you want in the list, try selecting a different option in Field.
  4. Optionally, you can add more search parameters.

    If you use multiple criteria:

    • You can only have one field with the Advanced Content option selected.
    • The Advanced Content containing the XPath statement must be the last row in the list of search parameters.

    If the XPath statement is not last, you will see an Application error telling you that you used incorrect syntax.

    To resolve the error, move the Field with Advanced Content to the last row in the list and re-run the query.

    1. Click add_clause.
    2. If you want search results to satisfy all the specified parameters, leave the default of And. If you want search results to satisfy at least one of the specified parameters, change And to Or.
    3. To group search parameters into one condition, select the checkbox for two or more consecutive parameters, and then click Group selected clauses.

To share and save your updated query

  1. In the search toolbar, after Saved Queries, click the Save query as button .
  2. On the Query Details dialog, in Title, enter a name for the query.
  3. Optionally, in Description, enter additional information using 1000 or fewer characters.
  4. By default, the query is shared with everyone. If you want to share only with specific users, clear the Share this query with everyone option and complete the following steps.
    1. Click Add.
    2. From the Select User/Role dialog, select the users or roles that you want to share this query with, and then click Select.
  5. On the Query Details dialog, click Save.