Discussions

Expand all | Collapse all

Upload to File Attachment field using API_ImportFromCSV

  • 1.  Upload to File Attachment field using API_ImportFromCSV

    Posted 18 days ago
    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.  RE: Upload to File Attachment field using API_ImportFromCSV

    Posted 17 days ago
    I'm assuming you already have the image files in question saved in a Base64 format?

    ------------------------------
    Ryan Stanford
    ------------------------------



  • 3.  RE: Upload to File Attachment field using API_ImportFromCSV

    Posted 17 days ago

    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
    ------------------------------