Skip to main content
Question

Button that opens PDF or Embed PDF?

  • July 7, 2025
  • 0 replies
  • 126 views

JerrodNorris
Forum|alt.badge.img+2

I am trying to have a button from a button bar on the Dashboard open up a PDF. What is the best way to achieve this? 

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • July 8, 2025

np,

Assuming that you have the PDF as a file attachment in any table in your app, make a formula URL field on that table with the following formula

URLRoot() & "up/" & Dbid() & "/a/r" & [Record ID#] & "/e99/v0"

Change the 99 to the field ID holding your file attachment. Do not give the field a label and that will expose the code when you view the record. Then just copy and paste that URL as the URL for the Dashboard button.  You will need to make sure that either all users in the app have access to that table to view all records, or you may choose to flag that file attachment field in field properties to be viewable by all users without logging in.