Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
6 months ago

Possible to Preview PDF and not Download?

Is anyone able to get Chrome (or Edge) to auto preview pdf files (saved in attachment fields) as opposed to downloading them? There is a setting in Chrome for this, but it doesn't seem to do anything (at least, it doesn't change the behavior of a pdf in a file attachment field). Is there a way to force a browser to view a pdf rather than download it?

2 Replies

  • Denin's avatar
    Denin
    Qrew Captain

    There's a way to let the web browser know to display or to download. The reason you only get the latter outcome is because of the headers Quickbase sends when you access the attachment. Unless Quickbase provides a feature update to accommodate this, the next best option may be to create a code page that gets the attachment and displays it.

  • Try this in a rich text field? <a href="path/to/file.pdf" target="_blank">Open PDF</a>