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)
I am making a CGI call to a script from DCT and i
rajeev
I am making a CGI call to a script from DCT and i have to return data to a FromAPI in the DCT from the script.
How do i call formAPI from my script,which is a javascript. Can anybody help me out.
Find more posts tagged with
Comments
Adam Stoller
If you search this forum for CallServer you'll probably see examples of how you can call into the FormAPI layer from a CGI script invoked via FormAPI's CallServer method.
I'm not sure if the same applies for CGI's called from the cgi-callout directive, but I imagine it should be pretty easy to find out. However, if the cgi-callout sets a value in a particular field - you can also probably just put an onChange handler on that item to invoke whatever other FormAPI calls you wish to make at that time ...
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
LooseCannon
Make reference to the formAPI :
var api = opener.top.getScriptFrame();
Use formAPI functions :
api.IWDatacapture.getItem("/Topic/TopicTitle").setValue("BAM");