Custom File Upload Function

I need to enable a user upload option in my site. Once the user uploads, i need to save the uploaded file in a third party service. But I am finding it extremely difficult to do that.

  1. Is it possible to upload CAD files onto the Data collections? The only allowable files are images and documents, as of now.
  2. I am not able to use XMLHttpRequest in my backend code. It says ‘it is undefined’. So is it possible to use Wix-fetch functions to upload a file onto a third party service?
  3. And suppose if we cannot use Wix-fetch functions to upload files, then what else can we use to achieve it?
2 Likes

Hey Ganesh Ram, were you ever able to get this issue working, finding myself in the same boat and trying to find out an answer, anything you could share would be awesome as this is an hard issue to even have someone respond to. thanks