Modifying an entity attribute in the model template

You can modify the existing entity attribute in the system-supplied model template XML file.

About this task

You can modify an entity attribute in a domain to add a new query type or delete an existing query type. The modified entity attribute is displayed in the tree hierarchy. An enterprise user can select from this hierarchy to create a condition to use for defining a validation rule or an override rule.

To modify an entity attribute in the existing out-of-the-box model template XML file:

Procedure

  1. Extract the out-of-the-box template XML file from the install_dir/resources/modelTemplates folder to your local system.
  2. Modify the element Attribute. Ensure that you follow the structure of the existing system-supplied model template XML file when modifying the elements.
  3. Modify the values of the other XML attributes and update the template XML file with your customizations.
  4. Create a folder structure /global/template/resource under the install_dir/extensions folder.
  5. Copy the modified template XML file to the install_dir/extensions/global/template/resource folder.
  6. Rebuild the resources jar file.
  7. Rebuild the enterprise EAR.