Avatar

Correct answer by
Level 4

Didn't think it would be on ES2 but it is so it's a bug you need to contact support to get a patch for it.

The url should end with the filename part of the path (e.g normally something like /expenses.pdf) and not included any preceding drive:/path/path info).  The bug is that when the full path filename contains backslashes, the parsing didn't work.

The filename is pulled from the fileName attribute of the Document provided to the render service.  This case could only happen if you are using a document variable in your process. As a workaround, you could temporarily change the process to clear the fileName attribute of doc variable containing the form before it is used in a user step.  (use setvalue with Document function setDocAttribute(docvarname, "fileName", "" - note that this returns the updated document so easy to use in a setvalue).

I would not recommend trying to modify workspace to fix this.

View solution in original post