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 data to a ipl...
hitc
I'm using a callout :
<callout type="cgi"
label="test"
url="/iw-bin/iw_cgi_wrapper.cgi/gest.ipl?thevar=15" />
How can I retrieve the thevar variable in my ipl,I tried $cgi->param('thevar') but it keep saying that the param function doesn't exist for the package cgi_lite...Can I pass a variable trough te url?if yes,how to get it's value?is it possible to pass value to a ipl?
Find more posts tagged with
Comments
james1
If you are using TeamSite::CGI_lite, then you should not use $cgi->param('thevar') to access CGI variables. You should use $cgi->{form}{'thevar'}. See the perldocs for TeamSite::CGI_lite for more details.
hitc
yes but like that you can't get url data...
Adam Stoller
Have you tried looking at the value of $ENV{PATH_INFO} ?
(I have not tried this with respect to a callout, but it would seem to work in general with key/value pairs passed within the URL)
--fish
(Interwoven, Curriculum Development)