SYMPTOMS
Unexpected file name when viewing a document as PDF in the ZyLAB Web Client and saving it or sending it via email. The original file name is replaced with "ZyNET.exe.pdf".
CAUSE
This is a flaw in version 6.3 and earlier. As of release 6.4 this issue is no longer present.
RESOLUTION
As a temporary workaround, the following steps can be followed to modify this behaviour:
- Open the Web Client's specific resultlist.htm file in a text editor, Notepad will suffice. The file can be found by default in "C:\inetpub\wwwroot\<WEB_CLIENT_NAME>\html\resultlist.htm".
- Scroll down to line 139 and replace "function ViewAsPdf(form, docSpec)" with "function ViewAsPdf(form, docSpec, baseName)".
- Scroll down to line 144 and replace "form.action = "/Exe/ZyNET.exe/";" with "form.action = "/Exe/ZyNET.exe/" + baseName + ".PDF";".
- Scroll down to line 1407 and replace "${CanViewPDF?<div class="img_pdf" title="View as PDF" onclick="ViewAsPdf(document.zyMainForm, '${JS_DOCSPEC}')"></div>}" with "${CanViewPDF?<div class="img_pdf" title="View as PDF" onclick="ViewAsPdf(document.zyMainForm, '${JS_DOCSPEC}', '${URL_BASENAME}')"></div>}".
APPLIES TO
6.3
Comments
0 comments
Article is closed for comments.