Skip to Content
0
Mar 22, 2022 at 07:22 AM

SAP CAP - Media Handling - Returning a file

792 Views

Hello Folks,

Please let me know how I can return the file in SAP CAP.

I read the file from third party OData service and stored in a local variable. ( in binary format)

In hook method of read entity set , in what format i need to convert the file so that i can load it into browser.

Screenshot attached --- myFile has a file but in binary format.

image.png

Thanks

Sandeep

Attachments

image.png (46.9 kB)