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)
Accessing FormAPI from CGI
lazybee26
I have a CGI callout on a DCT. The CGI does a bunch of things and returns a javascript.
I need to access the FormAPI objects in this javascript returned. How do I achieve this?
Thanks
Amit
Find more posts tagged with
Comments
JonathonG
Try reading up on
http://<yourservername>/iw/help/tst/formapi
, specifically the description of how callServer works.
Jonathon
Independent Interwoven Contractor
lazybee26
My situation is different. I'm not/cannot use CallServer.
I'm using a CGI callout button on the DCT. And the javascript returned as an output from this CGI, needs to access the FormAPI
Thanks
Amit
JonathonG
Well, I think you can still use parent.getScriptFrame() in your CGI stuff to access the FormAPI frame.
Jonathon
Independent Interwoven Contractor
lazybee26
Yep. That was my initial approach. Unfortunately the parent.getScriptFrame() doesn't work.
jbonifaci
opener.parent.getScriptFrame() should do the trick.
lazybee26
Yet Sir...that did the trick ...thanks a lot for your help...