Hi all,I'm really stuck on this one, I am running a iwgen command from a callserver command in a formapi file and I am getting an error "could not create". When I run the iwgen from the command line it works like a dream.Is the iwgen being run by the iwui user? if so do I need to give them permissions somewhere?thanks for any advice,ATS 6.7.1 SP1
Hi, thanks for your reply, my ipl attached. In my formapi I have the following callserver (runs when onSaveDone is a success):IWDatacapture.callServer("/iw-bin/product_submit.ipl?tpl=" + tplName + "&dcr=" + dcrPath + "&output=" + outputPath);and the variables contain the following:tplName://servername/default/main/branchName/WORAKREA/workareaName/templatedata/product/presentation/default.tpldcrPath://servername/default/main/branchName/WORAKREA/workareaName/templatedata/product/data/iwDCR0_091922outputPath://servername/default/main/branchName/WORAKREA/workareaName/en/products/Edit_Product.htmlSo when I run this from the onSaveDone event in the dct, I get "could not create" but when I run my script from the command line, passing in all these variables, it works.any suggestions welcome,thanks,A
Possibly an ENV issue, see if you can run iw_gen with no parameters (this will show if you have the correct libraries in the LD_LIBRARY_PATH).Also, I am not positive //servername/iwmnt/default/... is going to work as a vpath, I have not worked with Unix for a while, but before I never used the //serverBTW, what user owns the tmp file are creating ? Does that user have write access to the WA and file you are generating ?
Also, I am not positive //servername/iwmnt/default/... is going to work as a vpath I think teamsite now generates thoese vpaths more and more, but I also doubt they are usable in scripts as of now.
Also, I am not positive //servername/iwmnt/default/... is going to work as a vpath