Configuring Sun Master Indexes

Modifying Search Fields

Once field groups and fields are specified for a Record Details search page, you can modify the properties of the group and of the fields contained in a group. For more information about the elements that contain the search field configuration, see Record Details Search Field Definition Elements.

ProcedureTo Modify Search Fields

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click midm.xml.

    The file opens in the NetBeans XML editor.

  2. Scroll to the simple-search-page element you want to modify in the record-details element.

  3. In the field-group you want to modify, do any of the following:

    • To modify the name of the area in which the field group appears in the MIDM, change the value of the description element.

    • To add a new field to a field group, create and name a new field-ref element in the appropriate field-group element.

    • To modify the name of a field defined for a field group, change the value of the field-ref element.

    • To specify whether a field is required, add a required attribute and specify a value defined in Record Details Search Page Definition Elements.

    • To specify whether a field is used for range searching, add a choice attribute and specify a value defined in Record Details Search Field Definition Elements.

    • To delete a field from a field group, delete all text between and including the field-ref tags that define the field to be deleted.

    • To delete an entire field group, delete all text between and including the field-group tags that define the field group to be deleted.

  4. Save and close the file.