Configuring Sun Master Indexes

Adding Objects to the MIDM

You can define additional objects for the MIDM as long as those objects are defined in object.xml. Each object can only contain the fields that are also defined for that object in object.xml. If you add objects to the object structure using the Configuration Editor, the new objects are automatically added to the midm.xml and you do not need to perform these steps.

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.