Configuring Sun Master Indexes

ProcedureTo Add an Object to the MIDM

  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. In the nodes list of the file, create a new node element.

  3. In the new node element, create and define the following elements.

    • name – The name of the object.

    • display-order – The order in which the child object types are displayed on the MIDM pages.

      For example:


      <node>
          <name>Phone</name>
          <display-order>3</display-order>
      </node>

      Note –

      You might need to renumber any existing objects to keep the numbering sequential.


  4. Define fields for the new object, as described in Adding Fields to the MIDM.

  5. Define the relationship of the object, as described in Defining MIDM Object Relationships.

  6. Save and close the file.