Configuring Sun Master Indexes

Modifying MIDM Field Display Options

Once a field is defined for an object in midm.xml, you can change the name that appears on the MIDM for that field, the location of the field, and the type for the field (such as text box, menu list, and so on).

ProcedureTo Modify a Field’s Display Options

  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 that contains the field you want to modify.

  3. Scroll to the field element you want to modify, .

  4. To modify the field label, change the value of the display-name element.

    For example:


    <display-name>Last Name</display-name>
  5. To modify the location of the field on the MIDM, change the value of the display-order element.

    For example:


    <display-order>1</display-order>

    Note –

    If you change the order of one field, you must change the order of at least one other field to maintain sequential numbering. For example, if you change a field’s location from “2” to “1”, you must then change the location of the field originally specified for location 1.


  6. To modify the type of field to display, change the value of the gui-type element.

    For example:


    <gui-type>TextBox</gui-type>

    Note –

    You can enter TextBox (for a standard field), MenuList (for a field whose value must be selected from a drop-down list), or TextArea (for a long field that requires a scrollbar).


  7. Save and close the file.