Forum Discussion

ProjectsForce1's avatar
ProjectsForce1
Qrew Trainee
6 years ago

PDF Stored in Google Drive / Display In Form In QuickBase

I currently store all PDFs in Google Drive. I have the URL to the PDF in the record that it pertains to. Has anyone had any luck being able to display a PDF in the form without the need to click to open or down the pdf?

------------------------------
ProjectsForce
------------------------------
  • If you download Kirk Trachy's Magic button app in the Exchange, he does have an example of this.  Try clicking on the first project and you will see an embedded document in Courier format.

    I suggest getting it to first work with a PDF stored in quick base as a file attachment, then try to get it working for an external file.

    He makes a formula text field with this format and then uses it as both side of a report link configuration.

    If([File Attachment]="","No File","<iframe src=\"https://docs.google.com/gview?url="&URLRoot()&"up/" & Dbid () & "/a/r" & [Record ID#] & "/e262/v0"&"&embedded=true\" width=\"600\" height=\"600\" frameborder=\"0\" target=\"_blank\"></iframe>")

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    markshnier2@gmail.com
    ------------------------------