For a project that I am working on in IE11 and Oracle-ADF I am trying to implement DropzoneJS for a drag-and-drop upload feature the client requested.
Oracle-ADF exposes a Javascript API (AdfFileUploadManager) which requires you to call addFileToQueue(Object file) to send files to the backend.
DropzoneJS however requires you to set a URL in the options (or use the standard form action) both of which do not seem to work in this scenario. Is there any way in DropzoneJS to call this function instead of set a POST url?
If I understand your question correctly you want to use the DropzoneJS functionality without actually doing the upload?
In that case you should set autoProcessQueue
to false. This will prevent Dropzone to automatically upload your file. Using the addedfile
event, you can access the file object and use your other JS API to perform the upload.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With