Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Load document during generation
vahu
Hi all,
assume these paths:
tpl: y:/default/main/test/WORKAREA/test/templatedata/test/test/presentation/default.tpl
and
xml file: y:/default/main/test/WORKAREA/test/templatedata/test.xml.
Now if I have a DCR generating a page based on the default.tpl and I want to read the xml file in the tpl during generation of the page, is that possible ?
If yes then how ? Is there something like server.mappath that can be used in <iw_perl> tag inside a TPL ?
Thanks for any help in advance
.Saya
Find more posts tagged with
Comments
Dwayne
Take a look at the
<iw_perl>
documentation located at
your-teamsite-server>http://
your-teamsite-server
/iw/help/tst/pt/
. There are functions to find the path to the DCR and PT. From that, you should be able to construct the path to your file.
--
Current project: TS 5.5.2/6.1 W2K