Content Manager 25.1 Content Manager

# Prompting for search parameters

You can set up saved searches so that when you or other users run it, Content Manager prompts you to enter a parameter.

An example for this use is a search that you have to repeat over time, where one parameter will be different every time you run it.

This could be a search that you may have to run regularly to compile statistics on a team, for example to list the records that have one of a number of owners, that were closed within a particular month and year, which is what the search will prompt for.

To set up the prompt, in the relevant Search for... dialogue box, at the bottom in the list field, right-click the criterion to prompt for, and click Parameter.

In the Method Parameter dialogue box, set the prompt options, click OK and save the search.

Setting up an example saved search with a prompt

1. Use the Content Manager search function to specify the search criteria by clicking Search, and then Find Records, for example
2. In the Search By field, enter the criteria to search by, for example by clicking the folder button to display the Search Methods dialogue box. See Search pane. For example, enter owner.
3. In the drop-down box Select search style for Location, select A list of Locations
4. For Enter the Location to search by, enter the first few letters of the surname, and then click the blue folder button.
5. In the Select From Locations dialogue box, select or tag the Locations to include in the search and click OK
6. In the Search for Records dialogue box, click Add to add the Location to the list
7. In the list field at the bottom of the Search for Records dialogue box, right-click and click New.
   Content Manager inserts a new line, which is for entering an additional criterion.
8. In the Search for Records dialogue box, in the field Search By, enter closedOn
9. In the drop-down box More Search Options, select Month and/or a year
10. In the list field at the bottom, right-click the second line and click Parameter.
    The Method Parameter dialogue box appears.
11. Select Prompt for a parameter value for this search....
    The field Enter a short name for this parameter defaults to the field label, which is OK.
    The field Enter a longer caption to display... reads Please enter value for Date Closed by default, which is OK.
12. Click OK
13. In the Search for Records dialogue box, click OK to run the search.
14. In the search result window, right-click and on the Search menu, click Save Search As.
    The New Saved Search dialogue box appears.
15. Name the saved search and click OK
16. The saved search is now available when you click Search - Saved Record Searches

Running a saved search with a parameter prompt

1. On the Search menu, click Saved Record Searches or Saved Location Searches
2. Double-click the parameter search.
   Content Manager displays the prompt that was set up for the search.
3. Fill in the details and click Finish to run the search

Copyright 2008-2025 Open Text
Version 25.1 | Last updated January 2025
Contact

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to hprmdocumentation@microfocus.com.

We appreciate your feedback!

Product: Content Manager 25.1

Topic Title: Prompting for search parameters