on 06-22-2018 5:12 AM
Hi,
In UI5, I am trying to use FileUploader UI control.
I need to convert the file data to base64.
Could anyone help.
Regards,
Samad
You want to convert it, on backend or frontend?
If in backend, there are alot of FM to convert it.
If in frontend, you can on the event change of the fileuploader , read the fileuploader content like this:
onChangeFileUploader : function(oEvt){
var aFiles=oEvt.getParameters().files;
var currentFile = aFiles[0];
Now with the file, use JS or JQuery to manipulate 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.