BI Publisher (MOSC)

MOSC Banner

How to pass template name dynamically to <?call-template:test?>function

edited Aug 10, 2015 2:27PM in BI Publisher (MOSC) 3 commentsAnswered


Hi All,


I have imported sub template into my main RTF template.

Contents in Sub template are as follows.

<?template:TEST1?>

---content

<?end template?>

<?Template:TEST2?

--content

<?end template?>

From main template i can make to call to sub template with following syntax.

1 ) <?call-template:TEST1>

2) <?call-template:TEST2>

Since multiple template exist in Sub template such as TEST1, TEST2... How can I call this dynamically without hard coding(TEST1) from the above syntax?


Note:

Eg. TEST1 or TEST2 etc pulled from xml tag. so how i can pass the XML tag information to call template.


I have tried below syntax but it did not work.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center