Add a Search Definition

Revision as of 14:48, 26 September 2012 by JMU (talk | contribs)

To add a search definition:

  1. From the Search menu, select Search.
  2. The Search (Add) window displays.
  3. Enter a name for the search definition in the Name field.
  4. Enter a description of the search definition in the Description field.
  5. From the Search Target list, select the item that you would like to search.
  6. The search condition defaults to ANY. You can change the search condition by clicking the condition in the search criteria pane and selecting ANY or ALL from the list. For more information on the any/all search condition, refer to Any Versus All.
Figure 72. Changing the Any/All Condition

Figure 72. Changing the Any/All Condition

  1. To add a criteria to the search definition, click the FieldTemplateIcon.png button.
  2. A row is added to the criteria pane. Each row in the pane represents a criterion. A criterion is comprised of an attribute, operator, and value.
Figure 73. Criterion Components

Figure 73. Criterion Components

  1. Select the attribute on which you would like to apply a constraint from the leftmost list. The attributes in the list are determined by the item selected from the Search Target list.
  2. Select the operator that you would like to apply to the attribute from the list. The available operators are determined by the data type of the selected attribute.
  3. Do one of the following to specify the value(s) that the attribute must meet:
  • Enter a value in the text field beside the Operator list.
  • If the selected attribute has predefined values such as those available from a list of options, you can click the Options button to view the available options.
  • If you would like to wait until you run the search to specify the value, check the Prompt checkbox.
  • Repeat steps 7–12 for each criterion you would like to add to the search definition.
  • Note.jpg To change the order of a single criterion or an ANY/ALL group in the search definition (except the first criterion and group combination), select the criterion or group and click the UpBlueArrow.png or the DownBlueArrow.png button.
    Note.jpg To remove a criterion or an ANY/ALL group from the search definition, select the criterion or group and click the EcksButton.png button.
    1. When you have finished adding criteria to the search definition, do one of the following:
    • To save the search definition, click the Save button.
    • To execute the search, click the Run button.