Forum Discussion

GregoryGebhardt's avatar
GregoryGebhardt
Qrew Cadet
2 years ago

URL to Download with KEY Field

Does anyone know if we can use the Key field to download files via URL or does it have to be the RID?  I've tried below but no go, not sure if it has a special notation.

/a/r[Record ID#]/e24/v0   vs. /a/r10/k[key field]/v0




------------------------------
Greg
------------------------------
  • To my knowledge it has to be the RID given how QB does file storage. If you don't have a direct way to get the RID via relationship or other field - you can use a formula query to return the RID using the key value as your query parameter. 



    ------------------------------
    Chayce Duncan
    ------------------------------
    • GregoryGebhardt's avatar
      GregoryGebhardt
      Qrew Cadet

      Thanks I figured that was the case.  Easy enough to do ;)



      ------------------------------
      Greg
      ------------------------------