Sometimes there are requirement where header and footer are changing and rest content/body of template is same.
For example there are multiple addresses for any parent company.
In that case we can create subtemplate and call that subtemplate in parent template.
Creating Subtemplate:
In RTF template , do below
<?template:MyAddressUS?> My Company 500 Main Street Any City, CA 98765 <?end template?>
?template:MyAddressIndia?> My Company 500 Main Street India <?end template?>
Now we can save that template in fusion, Go to oracle fusion
its extension will be .xsb
wherever we want to call in the main templateCalling of Subtemplate from Main template:In the Main template enter the following import statements in the form field or directlyanywhere in the template.<?param@begin:ParameterName?>
For example:
<?param@begin:DeptName?>
Happy Learning .
No comments:
Post a Comment