Call Sub Templates inside Main RTF Template
Summary:
We are facing issue while trying to call the sub Template inside the Main RTF Template.
It Returns Blank Page Output for the P_COUNTRY Parameter selected from LOV..
IN_SUBTEMP.rtf and US_SUBTEMP.rtf
are a Welcome Letters With Text Dear <?EMPLOYEE_NAME?> Welcome to …
Call in the main RTF Template is done as below:
<?import:xdoxsl:///Custom/Human Capital Management/NOTIFICATIONS/IN_SUBTEMP.xsb?loc=en-US?>
<?import:xdoxsl:///Custom/Human Capital Management/NOTIFICATIONS/US_SUBTEMP.xsb?loc=en-US?>
<?param@begin:P_COUNTRY_CODE?>
<?for-each:G_1?>
<?if:$P_COUNTRY_CODE=”IN”?><?call:_IN_SUBTEMP?><?end if?>
<?if:$P_COUNTRY_CODE=”US”?><?call:US_SUBTEMP?><?end if?>
0