Add a new query type to an entity attribute

About this task

If you add a query type to the corresponding entity attribute that is used by a condition in the out-of-the-box template XML file, then the condition with the newly created query type can be used to define the validation rule or the override rule.

To add a new query type to an entity attribute:

Procedure

  1. Extract the out-of-the-box template XML file from the <install_dir>/ resources/modelTemplates folder to your local system.
  2. Create an element, QueryType, as a child element of the QueryTypes element.
  3. Define 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.