on 2023 Sep 05 8:18 AM
Hi Experts,
Backend odata is done when we tested by uploading attachment in gateway client its working fine that it receives the file in xstring format and they are converting to binary.
From ui5 i am uploading attachment, i am reading the file using readAsDataUrl, i am getting the base64 content and then i am using ,
btoa(encodeURI(base64))
but in backend they are not getting in xstring format.
How do i send the file in xstring format? or let me know in which format i need to send and in backend how should they handle.
Please need your inputs
I have removed my conversion and sending the raw data to backend which received in xstring format but the xstring is not properly converted when we send from UI but when we test from gateway client its proper.
So i have changed my UI logic that not to call externaly using oModel.create, instead when attaching the file the framework itself sends call to backend with proper conversion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.