Skip to main content
Question

Link to file itself

  • November 4, 2020
  • 0 replies
  • 24 views

Forum|alt.badge.img+14
I have a table of files (pdfs), and I am trying to create a link to the file itself. I can create a link to the record entry without issue, but is there a way to create a link where it launches to the pdf (file attachment field) itself?

EDit: Found this on another thread but cant get it to work. RIght now it says page unrecognizable.

URLRoot() & "up/" & "db/xxxxxxxxx?" & "/a/r" & "63" & "/e7/v0"

WHere 63 is record if and 7 is fid
------------------------------
Mike Tamoush
------------------------------

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • November 5, 2020
Try this format
URLRoot() & "up/" & Dbid() & "/a/r" & [Record ID#] & "/e99/v0"

Replace 99 with your field ID which has the file attachment.

The local PC settings will determine if the PDF will open or download.

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