Discussions

Expand all | Collapse all

Can a PDF file be displayed on a dashboard page?

  • 1.  Can a PDF file be displayed on a dashboard page?

    Posted 11-14-2018 22:16
    Is it possible to display a PDF file on the dashboard page?  The PDF is stored as an attachment in one the application tables.


  • 2.  RE: Can a PDF file be displayed on a dashboard page?

    Bronze
    Contributor
    Posted 11-14-2018 22:49
    Did you try embedding it as an image within a rich text field on the dashboard?


  • 3.  RE: Can a PDF file be displayed on a dashboard page?

    Top
    Contributor
    Posted 11-16-2018 11:45
    This isn't really a great idea as pdf documents are typically a full 8.5" x 11" page and simply don't embed well. Nevertheless you can create a HTML code page referencing your pdf URL and embed it as a web page widget using markup similar to this:
    <object data="https://eforms.state.gov/Forms/ds11.PDF"; type="application/pdf" style="width:100%;height:1600;">>
        <iframe src="https://docs.google.com/viewer?url=https://eforms.state.gov/Forms/ds11.PDF&embedded=true"&g...;
    </object>
    But you will probably have problems with the double scroll bars and need JavaScript to resize the <iframe> to match the size of the contents.




  • 4.  RE: Can a PDF file be displayed on a dashboard page?

    Posted 01-08-2019 13:26
    Does user need to interact with the file's content? If they do, attach it with the embedded code from the very service you use, like this for example https://ds11.pdffiller.com/ that will be different for sure, yet it depends exactly on the pdf's source


  • 5.  RE: Can a PDF file be displayed on a dashboard page?

    Bronze
    Contributor
    Posted 07-12-2019 17:42
    Will this work for a pdf in a file attachment field?


  • 6.  RE: Can a PDF file be displayed on a dashboard page?

    Posted 07-12-2019 18:20
    Kirk Trachy has a Magic buttons app in the exchange which manages to do a preview of a word or pdf file attachment on a form.  It also possible to embed a form of a particular record on a dashboard, so the combination of those two techniques may work.