Upland OL User community

Displaying a PDF in COTG within a html form

Hi all.

I would like to have a form in COTG which has an embedded pdf viewer like:
<object data="myfile.pdf" width="100%" type="application/pdf" height="100%"></object>
That displays a pdf file that the user can look over, before signing on glass and submitting the form.

I have tried this on Windows and Android versions of COTG and it seems the browser does not have a native pdf viewer? Would the best way to have a pdf display be to use PDF.JS for example?


I ended up using PDF.Js to create a customised viewer. Works quite well in COTG.