Configuring Sun Master Indexes (Repository)

Deleting a Field from the Master Index Object Structure (Repository)

If a field is defined for an object but does not belong to that object, you can delete the field from the object structure. Make the corresponding changes to the remaining configuration files.

ProcedureTo Delete a Field (Configuration Editor)

  1. In the Projects window, right-click the master index application you want to modify, and then click Open.

  2. If the Configuration Editor dialog box appears, click Edit to check out the listed files.

    The Configuration Editor appears.

  3. Expand the object structure until the field you want to delete is visible.

  4. Select the field and do any of the following:

    • Right-click in the object tree panel, and then click Delete.

    • Press the Delete key.

    • In the Configuration Editor toolbar, click Delete.

  5. On the confirmation dialog, click Yes.

    The field is removed from the object tree.

  6. On the Configuration Editor toolbar, click Save.

ProcedureTo Delete a Field (XML Editor)

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click the Object Definition file.

    The file opens in the NetBeans XML editor.

  2. Scroll to the tag element defining the object from which you want to delete a field.

  3. Scroll to the fields element containing the field to delete, and then delete all text between and including the fields tags defining that field.

    For example, to delete the AddressLine1 field below, delete all text in the sample.


    <fields>
       <field-name>AddressLine1</field-name>
       <field-type>string</field-type>
       <size>5</size>
       <updateable>true</updateable>
       <required>false</required>
       <code-module/>
       <pattern/>
       <key-type>false</key-type>
    </fields>
  4. Save and close the file.