My DCT has some .js code that calls an .ipl.
In this .ipl, I need to know which WORKAREA I'm in.
I've been reading the docs and looking up sample code but I can't seem to find what I'm looking for.
Here's the .js code:
IWDatacapture.callServer("
http://apwcms/iw-bin/pge_custom/testing.ipl");
in testing.ipl, I'm simply trying to echo back this variable:
my $workarea_path = $ENV{IW_WORKAREA};
It's blank every time.
Am I supposed to pass the WORKAREA in through the callServer as a param or something?
Thank you.