Forum Discussion

JENNIFERPASCHAL's avatar
JENNIFERPASCHAL
Qrew Trainee
5 years ago

Exporting Attachments

Hello,

Is there anyway to export a report/table with attachments? When I export a report with an attachments field type, it exports the file name. Is there anyway to export the report so that I can access the attachments from the export?

------------------------------
Thanks in advance,
Jennifer Paschal
------------------------------
  • While you can't export the attachments in this way, you CAN instead include a link to the attachment that would give you the ability to download the attachment from Quick Base. You will need to create a new Formula-URL field and use this as the basis for the formula:

    "<a href=\"" & URLRoot() & "up/" & DBid() & "/a/r" & [Record ID#] & "/e16/v0\">" & [File Attachment Field Name] & "</a>"

    Replace the 16 with the FID for the File Attachment field and then replace the 'File Attachment Field Name' with the File Attachment Field. Add this to your report and you will then have a link back to the file.

    ------------------------------
    Blake Harrison
    bharrison@datablender.io
    DataBlender - Quick Base Solution Provider
    Atlanta GA
    404.800.1702 / http://datablender.io/
    ------------------------------
    • JENNIFERPASCHAL's avatar
      JENNIFERPASCHAL
      Qrew Trainee
      Hi Thanks so much! 

      The formula work when in the report (shows the link starting with http) but when I download the report it displays the full formula: <a href="https://directv-9861.quickbase.com/up/bqtpc4828/a/r18/e6/v0">example.docx</a>

      Do you know why it is doing this?

      ------------------------------
      Thanks in advance,
      Jennifer Paschal
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        I seem to recall that I did this once and had to have the excel sheet use the =hyperlink function.

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