Customizing product templates
By Acshorten-Oracle on Dec 01, 2009
One of the major features of the Oracle Utilities Application Framework is that the installer for the framework (and the related products) generates all the technical configuration files necesary for the products automatically using prebuilt templates provided by the product. This reduces the technical maintenance overhead for the majority of the implementation and support for the product at a site.
The issue with that is that if you wanted to use facilities beyond those provided you had to make changes to the configuration files directly and remember you made those changes as the utilities may unintentionally overwrite the customizations that were not in the original templates.
It is now possible to introduce your own custom site specific templates which will be used instead of the base templates. The idea is that if you want to use a feature that is not in the templates, you can instruct the product configuration utilities to use your own templates to generate against with the desired feature configured.
To implement this facility you must install patch 8813246(OUAF V2.2 based products only), from My Oracle Support, which allows custom templates to substituted for the base provided ones.
After the patch is installed, to use this facility you copy the base template in the etc directory of your product environment and include the "cm." prefix to denote it as an override for the original template. At setup time (i.e. whenever initialSetup is executed) the custom template will be used instead of the base template. Just remember to make changes to your new custom template as you need.
It should be noted that if you use a custom template you should make sure that if the base template is changed for any reason (patches or enhancements) that you also reflect the change in your site templates to take advantage of new facilities.
This facility applies to any configuration file that is templated already (look for templates in the etc directory of your product environment to see the list).