Forum Discussion

EricMohlman's avatar
EricMohlman
Quickbase Staff
6 years ago

Re: How to upload an image file from a custom HTML page into QB?

We're currently working on updating our API calls to be JSON based, and hope to have those available by the end of the year for general availability. Please keep an eye on our release notes each month for details on this initiative.

In the mean-time, you could utilize the JavaScript SDK here: https://github.com/QuickbaseAdmirer/Quickbase-JavaScript-SDK within your HTML page to upload your files. The official documentation is located here: https://help.quickbase.com/api-guide/filemanagement.html and indicates that data sent to a Quick Base file attachment field needs to base-64 encoded. There's also an example of a base-64 encoded document in the API_AddRecord documentation here: https://help.quickbase.com/api-guide/add_record.html

With all of that in mind, it still seems like your main issue is being based in JSON and converting to XML. A quick google search generated some useful results:

There might also be jQuery libraries that could utilize for this purpose

------------------------------
Eric Mohlman
------------------------------
No RepliesBe the first to reply