cancel
Showing results for 
Search instead for 
Did you mean: 

Manage Attachments in MDK App with BTP RAP OData V2

Angelo_Ab
Explorer
0 Kudos

Hi,

the scenario is the following:

  • User need to Add Attachments through MDK App
  • The Attachment will be uploaded to BTP Document Management Service
  • User can also download the attachments from BTP Document Management Service.

Backend is a BTP RAP Abap Environment.

I already achieve this in SAPUI5 Apps using FileUploader, FileReader and BTOA JS function to convert Binary to Base64-encoded ASCII and send it through OData V2 Field, but I do not know how to do the same things in MDK App.

I trying to understand the following App but i do not found the way how i can achieve my requirement:

https://github.com/SAP-samples/cloud-mdk-samples/tree/main/Showcase_Apps/ImageHandlingApp/ImageHandl...

What are the steps to send basically Upload the Base64 through OData V2 Field so that I can handle it in the backend and send it to BTP DMS ?

Similarly, how can I retrieve a base64 from the backend through OData V2 and downloading it from MDK App ?

Thank you.

Accepted Solutions (0)

Answers (0)