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)
Passing Arguments from a CGI script to a .TPL
Prash
I am using a .cgi window to select a list of files and then compile a .tpl file.
But I need to send through some data to the presentation .tpl file, so that it can use arguments from the cgi window.
I'm using iwpt_compile.ipl command, but dont know how to send through some parameters or how to read them on the presentation template.
This is a bit of the code im using.
my $cmd = "iwpt_compile.ipl -pt y:\\default\\$wa\\templatedata\\$dataType\\" .
"presentation\\Archive_folders_index.tpl -ofile $indexFile -iw_pt-arg {1}=>2003 {2}=>02 " .
"-iw_include-location y:\\default\\$wa";
my $cmdReturn = `$cmd 2>null`;
Theres not much info on the -iw_pt-arg command.
It would be much appreciated if you could help.
Find more posts tagged with
Comments
MikaV
Have you found any solution for this problem? If so, could you please post it here...
james1
There is ample documentation of the "-iw_pt-arg" flag at:
http://[your-teamsite-server]/iw/help/tst/pt/TeamSite__PT__iw_pt.html
Is there anything there that you don't understand?
-- James
--
James H Koh
Interwoven Engineering