Configuring Sun Master Indexes

ProcedureTo Delete an Object

  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 naming the object to delete.

  3. Delete all text between and including the node element for that object.

    Using the sample below, to delete the Phone object, delete all the text in the sample.


    <node>
       <name>Phone</name>
       <display-order>3</display-order>
       <field>
          <name>PhoneType</name>
          <display-name>Phone Type</display-name>
          <display-order>1</display-order>
          <max-length>8</max-length>
          <gui-type>MenuList</gui-type>
          <value-list>PHONTYPE</value-list>
          <value-type>string</value-type>
          <key-type>true</key-type>
       </field>
       <field>
          <name>Phone</name>
          <display-name>PhoneNumber</display-name>
          <display-order>2</display-order>
          <max-length>20</max-length>
          <gui-type>TextBox</gui-type>
          <value-type>string</value-type>
          <input-mask>(DDD)DDD-DDDD</input-mask>
          <value-mask>xDDDxDDDxDDDD</value-mask>
       </field>
    </node>
  4. If necessary, renumber the order of the remaining objects so they are sequential.

  5. Remove the object from the relationship definition, as described in Defining Relationships Between Master Index Objects.

  6. Save and close the file.