How do you get the full URL of attached file using an API?

  • 0
  • 1
  • Question
  • Updated 8 months ago
  • Answered
When I run a query I get the file name but I need to pull the link. How can I do this?
Photo of Thomas Matthews

Thomas Matthews

  • 80 Points 75 badge 2x thumb

Posted 8 months ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 27,694 Points 20k badge 2x thumb
You need to write a short URL formula to generate a link to the file attachment using one of two formats described in the API docs:

File Management
https://help.quickbase.com/api-guide/index.html#filemanagement.html

The two URL formats are as follows:

https://subdomain.quickbase.com/up/DBID/a/rRID/eFID/vVID

https://subdomain.quickbase.com/up/DBID/a/rRID/eFID/vVID/FILENAME.EXT

Photo of Thomas Matthews

Thomas Matthews

  • 80 Points 75 badge 2x thumb
Thanks for the reply helped a lot!