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)
use formapi callout to request asp page
System
Now I am using asp on teamsite. I create a new form ,when client choose a file, I use formapi callserver function to send a http request to a asp page,this asp page will execute iwextattr to get this file's extended attribute and write the output to a text file,then redirect to another asp to read the text file and return to form.
now I face 2 quesiton:
1. I modfiy IIS configration and create a OCX file. in asp page, I use this ocx to execute teamsite clt command.
but when I use "iwextattr -l vpath > c:\tmp.txt" , the tmp.txt is a empty file, I tried many times and found it's becuase of the vpath.
if I use "iwextattr -v > c:\tmp.txt", I can get the file with correct content,.
2. where can I find a detail description on call server usage?
I read the formapi develop pdf file, but it's still not detail. can I find a example program on devnet?
thanks for any help
Find more posts tagged with
Comments
Johnny
You should be capturing STDOUT and STDERR... you probably have an error with your vpath which is sending an error message to STDERR.
In unix that would be
iwextattr -l vpath 2>&1 > /tmp/test.txt
I'm not sure if its the same in windows.
John Cuiuli
Migrateduser
What does your ASP code look like? I had done something like that a while ago with ASP and I also had a few issues which were later resolved. Attach (not paste) your ASP code.
Dave
Current Environments:
(1) TS 6.5 on W2K3 (x2 - diff. imp.)
(3) Vignette V7 Portal on Solaris 9