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