G'day,
Edit: Using TS 7.3.2....
trying to get the callServer function to work to dynamically populate a drop down list of department names. I implemented a servlet to query a database and return the proper embedded JS code for the callServer function.
I believe i'm running into a cross domain issue however, since my servlet is not hosted on my teamsite server. I couldn't really find anywhere in the FormAPI documentation where it explicitly mentions this.
A search on devnet pointed me to this workaround, using external_proxy_remap in iw.cfg
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=49824
But can't seem to get this working either... I don't get an error visually in the DCT, but the drop down simply doesn't populate. Having a heck of time locating a log file where an error could point me in the right direction.
Here's what i have configured in my iw.cfg file, based on the workaround in the devnet link above:
[iwproxy_external_remap]
_regex=^/iw-mount/default/main/branch/workarea/iwformcalloutdata\.do$=http://my-server/iwformcalloutdata.do
And my callServer script:
var parameters = new Object();
parameters.mthd = "dptOptions";
IWDatacapture.callServer("http://my-server/iw-mount/default/branch/workarea/iwformcalloutdata.do", parameters, true);
any ideas?