Skip to Content
0

How to convert base64 format attached file from uploadcollection in SAPUI5?

Apr 13, 2017 at 09:26 AM

268

avatar image
Former Member

Hi All,

I need to convert the attached documents in base64 format from uploadcollection. After converting the base64 format I have to call odata service for posting to send the attached documents to server.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Oct 20, 2017 at 07:56 PM
0

Hi , DURAI VENKATESH


Did you find the solution? I am still looking for a solution.

Share
10 |10000 characters needed characters left characters exceeded
Joseph BERTHE Oct 21, 2017 at 08:27 PM
0

Hello,

Did you try the conversion routine :

 var data = btoa(r);

Regards,

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hey Joseph,

its working fine for conversion but its very slow if file was 4mb. any other conversion code for large file to get base64.

0
0