Configuring Sun Master Indexes (Repository)

Modifying Search Fields

Once field groups and fields are defined for a 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 EDM 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 the Enterprise Data Manager file.

    The file opens in the NetBeans XML editor.

  2. Scroll to the page-definition element in the gui-definition element.

  3. Scroll to the eo-search element, and then to the simple-search-page element you want to modify.

  4. In the simple-search-page element, scroll to the field-group you want to modify, and do any of the following:

    • To modify the name of the boxed area in which the field group appears in the EDM, 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 appropriate field-ref element.

    • To specify whether a field is required, add a required attribute and specify a value defined in EDM Search Field Definition Elements.

    • To specify whether a field is used for range searching, add a choice attribute and specify a value defined in EDM 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.

  5. Save and close the file.