Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Multiple TPLS for one DCR
Rococi
I want to generate two different types of html from one DCR. Can Interwoven Templating 5.52 handle this,and if so, Please could someone tell me how? Thanks,
Rick
Find more posts tagged with
Comments
iwovGraduate
If I understand your question correctly .. yes.
Heck, even Templating 4.x can handle it..
Create two presentation templates (.tpl files), change the templating.cfg to have two presentation templates for a particular category/data-type. See the templating developers guide for details, syntax, etc. When you "preview" or "generate" you will get a choice of which presentation to use.
If you want to generate two html files using only one presentation template (so you don't have to generate/preview twice) you can do that using iw_ostream tags and/or using component templates. You can also use the <iw_perl> tag within presentation template - and write the perl to do whatever you want.
Also see:
http://<YOUR-TEAMSITE-SERVER>/iw/help/tst/pt/
for FAQ and Presentation Tag reference.
Hope that helps.
mogoo
this issue has been addressed in other threads. check out
this post
akshathp
Multiple presentation templates can be linked for one datacapture. It can be configured in templating.cfg and upon execution, while generating or previewing, it will prompt user to select the presentation template that user wishes to render with.
If you are using workflow based approach for auto generation with CLT iwgen, then also this is easily doable. All you need to do is use the required presentation template file for each generate.
Hope this helps!
Akshat Pramod Sharma
Interwoven Inc.