Configuring Sun Master Indexes

Deleting an Object From the Master Index Object Structure

If you define an object in error, you can remove the object from object.xml. If you modify the XML file directly, you must also remove the relationship definition for the object. Remember to make the corresponding changes to the remaining configuration files.

ProcedureTo Delete an Object (Configuration Editor)

  1. In the Projects window, right-click the Configuration node in the project you want to modify, and then click Edit.

    The Configuration Editor appears.

  2. Expand the object structure by clicking the plus sign by the parent object.

  3. 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.

  4. On the confirmation dialog box, click Yes.

    The object and any fields associated with that object are deleted. If you remove the parent object, all child objects are also removed.

  5. On the Configuration Editor toolbar, click Save.

ProcedureTo Delete an Object (XML Editor)

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

    The file opens in the NetBeans XML editor.

  2. Scroll to the nodes element containing the object you want to delete.

  3. Delete all text between and including the nodes tags that contain the object tag.

    For example, to delete the Address object below, delete the boldface text.


    <nodes>
       <tag>Person</tag>
    </nodes>
    <nodes>
       <tag>Address</tag>
    </nodes>
    
  4. Remove the object name from the relationship list, as described in Defining Relationships Between Master Index Objects.

  5. Save and close the file.