[pdfJS Viewer] Support for blob - display PDF generated in javascript

Forge Component
Published on 2018-11-14 by Jorge Martins
7 votes
Published on 2018-11-14 by Jorge Martins

Hi Team

Does this component support viewing a blob (PDF generated with JavaScript)?

I have tried some other options, i.e. using <embed>, <object>, and <iframe> to display the pdf but none of them worked.



Hello Hanno,

The way the code is and the component was build around it requires that the PDF be passed in an URL.

I'm pretty sure that should be possible to change the code (and the component) to accept blobs, given they are valid PDF, but I have to check.

Unfortunately, we will not be able to make changes to the component until January.

It is in our list of ToDos.


Eduardo Jauch


Thank you, Eduardo, I appreciate you taking the time to provide feedback. Looking forward to the changes being implemented next year.