Deleting an entity attribute from the model template

You can delete an entity attribute from the out-of-the-box template XML file. If you delete an entity attribute and if the entity attribute is used by a condition to define the validation rule or an override, none of the conditions will be available to define the validation rule or the override rule.

About this task

To delete an entity attribute from the out-of-the-box template XML file:

Procedure

  1. Extract the out-of-the-box template XML file from the <runtime_sandbox>/resources/modelTemplates folder to your local system.
  2. Select an element Attribute and delete or comment the element Attribute from the domain.

    The entity attribute is deleted from the domain.

  3. Create a folder structure global/template/resource under the <runtime_sandbox>/extensions folder.
  4. Copy the modified template XML file to the <runtime_sandbox>/extensions/global/template/resource folder.
  5. Rebuild the resources JAR file.
  6. Rebuild the enterprise EAR.