Configuring Sun Master Indexes

ProcedureTo Define Search Fields

  1. Complete Step 1: Define the Search Page.

  2. In the new simple-search-page element, create a field-group element.

    For example:


    <simple-search-page>
       <screen-title>Simple Person Search</screen-title>
       <search-result-id>2</search-result-id>
       <search-screen-order>1</search-screen-order>
       <show-euid>false</show-euid>
       <show-lid>false</show-lid>
       <field-group>
       </field-group>
    </simple-search-page>
  3. In the new field-group element, create the elements and attributes listed in Record Details Search Field Definition Elements and enter the appropriate value for each.

    For example:


    <simple-search-page>
       ..
       <field-group>
          <description>Address</description>
          <field-ref>Address.AddressType</field-ref>
          <field-ref>Address.AddressLine1</field-ref>
          <field-ref>Address.AddressLine2</field-ref>
          <field-ref required=“true”>Address.City</field-ref>
          <field-ref>Address.State</field-ref>
       </field-group>
    </simple-search-page>
  4. Repeat steps 2 and 3 for each field group you want to display on the selected search page.

  5. Continue to Step 3: Specify Search Options.