Forum Discussion

AlbertoTablada2's avatar
AlbertoTablada2
Qrew Trainee
5 years ago

Upload to File Attachment field using API_ImportFromCSV

I'm used to uploading images to File Attachment fields using API_AddRecord and API_EditRecord, however I'm now in a situation where I'm already using API_ImportFromCSV to send data to Quick Base (since I'm creating several records at a time) and I need to send images for each one of those records.

So my question is if it's possible to send images to File Attachment fields using API_ImportFromCSV?


------------------------------
Alberto Tablada
------------------------------

2 Replies

  • I'm assuming you already have the image files in question saved in a Base64 format?

    ------------------------------
    Ryan Stanford
    ------------------------------
    • AlbertoTablada2's avatar
      AlbertoTablada2
      Qrew Trainee

      Hello Ryan,

      Yes that's correct, I've made it work with API_AddRecord for cases where I have to create only one record at a time, and there's no problem at all, I can see the image on the record created.

      But the problem when using API_ImportFromCSV is that I don't know where to specify the filename property which is necessary for File Attachment fields to work.

      Thank You.



      ------------------------------
      Alberto Tablada
      ------------------------------