Forum Discussion

ToMMeR's avatar
ToMMeR
Brass Contributor
Jan 22, 2020

PDF viewer does not work with JavaScript

Hi

 

All of our corporate documents are managed in a document solution that generates PDF files from the documents with a specific header in the document stating when they have been requested etc.

This header uses JavaScript build into the PDF which works just fine in Adobe Acrobat Reader, Internet Explorer (as it uses Acrobat Reader) etc.
But sadly in Edge it only loads the top of the header on each page and displays an error saying: "TypeError: this.info.toSource is not a function". The rest of each page is missing (see screenshot below)

 

This means that thousands of documents that cannot be viewed with the build-in PDF viewer in Edge, but we have to manually download the file and then open it in Adobe Reader.

 

Resources