Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to get file object from uploaded file using oj-file-picker and send that file with some meta dat

3469873Sep 25 2019 — edited Sep 25 2019

I want to send a file with some meta data to server. I am using oj-file-picker. How can I get the file object from this.

<oj-file-picker id="local_file" accept='[".cfg"]' selection-mode="single" on-oj-select='[[onFileSelected]]' style="max-width:10em"> </oj-file-picker>.
I wanted to use FormData object to send file. and formData need file object.
Can anyone help on this ?
This post has been answered by Duncan Mills-Oracle on Sep 25 2019
Jump to Answer
Comments
Post Details
Added on Sep 25 2019
4 comments
204 views