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.
In the Projects window, right-click the Configuration node in the project you want to modify, and then click Edit.
The Configuration Editor appears.
Expand the object structure until the field you want to delete is visible.
Select the field and do any of the following:
On the confirmation dialog, click Yes.
The field is removed from the object tree.
On the Configuration Editor toolbar, click Save.
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.
Scroll to the tag element defining the object from which you want to delete a field.
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> <key-type>false</key-type> <code-module/> <pattern/> <key-type/> </fields> |
Save and close the file.