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)
Making system call from FormAPI
skbaker
For reasons explained in a previous post, I need to capture one of a DCR's attributes from within FormAPI. I want to capture this attribute by executing the system command "iwattrib <objectvpath> objid" (I already know how to retrieve the object's vpath). I know how to execute a system command from the DCT, and I know how to do it from the TPL, but I need to do it from FormAPI, right as the DCR is being saved.
I can't find any references to this sort of situation in the fora or in the documentation. Any help would be greatly appreciated!
(Btw, I'm running TS 5.5 on AIX)
Find more posts tagged with
Comments
james1
FormAPI is a client-side API, i.e., it runs in the browser. You want to run the "iwattrib" CLT on the server. The browser cannot directly invoke the CLT. So, you probably need to write a server-side program to do your work for you, and make it accessible to a JavaScript program, e.g. write a CGI or a servlet or an ASP -- anything URL-accessible.
-- James
--
James H Koh
Interwoven Engineering