Configuring Sun Master Indexes

ProcedureTo Define New 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 node element that defines the object to which you want to add a field.

  3. In the node element, create a new element named field.

  4. Define and configure the elements listed inMIDM Field Configuration Elements for the new field-field_name element.

    For example:


    <field
       <name>LastName</name>
       <display-name>LastName</display-name>
       <display-order>2</display-order>
       <max-length>40</max-length>
       <gui-type>TextBox</gui-type>
       <value-type>string</value-type>
       <is-sensitive>false</is-sensitive> 
       <key-type>false</key-type>
    </field>
  5. If necessary, renumber any existing fields to keep the numbering sequential.

  6. Save and close the file.