Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Working with saved queries


The HCP Search Console lets you save the queries you create so you can run them again at any time. Saving a query saves the criteria only, not the search results. Each time you run a saved query, you get a new set of returned objects.

You can publish a feed for a saved query. The feed makes regularly updated query results available to users of the web site where it’s published.

This chapter provides instructions for saving queries and then viewing, running, editing, deleting, and publishing feeds for them.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Saving a query


You can save all three types of queries: simple, structured, and advanced. Queries you save while one search facility is active are not available while another facility is active.

To save a query:

1.On the Simple Search, Structured Search, or Advanced Search page, specify the query criteria.

2.Click on Search.

3.Optionally, select filters to apply to the query results. The filters you apply to the search results are saved along with the query.

For information on filters, see Filtering search results.

4.In the save as field, type a name for the query. Query names must be from one through 500 characters long and cannot contain single quotation marks ('), double quotation marks ("), or backslashes (\).

Certain strings that are used internally by HCP are reserved and cannot be used as names as saved queries.

NoteWebHelp.png

Note: If a query doesn’t return any objects, a field labeled Save this query as appears below the search criteria on the Search Results page.

5.Click on Save.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Viewing saved queries


When you save a query, the Search Console lists it on the Saved Queries page. From this page, you can run, edit, or delete the query, as well as publish it as a feed.

SavedQueriesPage.png

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Running a saved query


To run a saved query:

1.Click on the Saved Queries tab.

2.On the Saved Queries page, click on the run control ( SavedQueryRunControl.png ) for the query you want to run.

The Search Results page for a saved query shows the name of the query.

NoteWebHelp.png

Note: When you run a saved query, the save as field on the Search Results page shows the name of that query. If you edit the query and then click on Save without changing the query name, the modified query overwrites the previous version.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Editing a saved query


To edit a saved query:

1.Click on the Saved Queries tab.

2.On the Saved Queries page, click on the edit control ( SavedQueryEditControl.png ) for the query you want to edit.

The Console displays the page on which the query was created. For example, if you created a query for a simple search, the Console displays the Simple Search page.

3.Change the query criteria as needed.

4.Click on Query to run the updated query

NoteWebHelp.png

Note: When you deselect a filter, the query runs automatically. For information on filters, see Filtering search results.

5.To display the save as field, click on Search.

6.In the save as field, type a name for the edited query.

7.Click on Save.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Publishing a feed for a saved query


You can publish both RSS and Atom feeds for saved queries. To publish a feed:

1.Click on the Saved Queries tab.

2.On the Saved Queries page, click on the RSS ( SavedQueryRSSControl.png ) or Atom ( SavedQueryAtomControl.png ) control for the query for which you want to create the feed.

The window displays a browser-specific page for publishing a feed.

3.Use the browser-specific procedure to publish the feed for the query.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

Deleting a saved query


To delete a saved query:

1.Click on the Saved Queries tab.

2.On the Saved Queries page, click on the delete control ( SavedQueryDeleteControl.png ) for the query you want to delete.

3.In response to the confirming message, click on OK.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

 

  • Was this article helpful?