Hi there,
this is with TS 6.7.2 on Solaris 10.
I am creating a workflow which at some point has to regenerate one or more output files (depending on the number of files attached to the workflow). Since we are using XSLT-based templates, the only way to accomplish this seems to be the "urlgenerate" command.
Before creating a workflow task I wanted to try to use this command manually.
However, when I create such a URL and enter it into my browser's address field, I get a small popup error window, saying:
The passed in dcr vpath is incorrect |
Which seems to be an incomplete message to begin with.
Also, the
overwrite=true parameter does not seem to have any effect. If the file specified with the
output URL parameter exists, the error popup message says:
Output file already exists. If you want to override it, set "override=true" in the url. |
When I follow this suggestion, the same error message appears.
My URL looks like this:
https://servername/iw-cc/urlgenerate?dcr=/store/main/branch/WORKAREA/workarea/templatedata/category/datatype/data/dcr.xml&pt=/store/main/branch/WORKAREA/workarea/templatedata/category/datatype/presentation/template.xsl&output=/store/main/branch/WORKAREA/workarea/outputfile.jsp&overwrite=true
Any suggestions?
PS: Since the workflow might need to regenerate more than one file, what kind of task (if any) would be suitable to call a URL? If "iwregen" worked I would have an loop over the files and regenerate each of them, but that is unfortunately no option with the XSL templates.
PPS: In this thread (
http://devnet.interwoven.com/forums_vb/showthread.php?t=25619&page=3&pp=10) LooseCannon says that
Calling the compiler ($iwhome/httpd/webapps/content_center/WEB-INF/lib/bsf.jar org.apache.xalan.xslt.Process) directly is a viable workaround. |
Could this be done from an ? If so, how would I have to call the compiler?