Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Post blob content via xsodata service

$
0
0

Hi All,

 

I would like to know if it is possible to post a blob object to an xsodata service.

 

Requirement

 

I have a table which has few string fields and a edm.binary field which is supposed to hold a file object which has been exposed as xsodata service. Now I need to make a post entry to this table, using xsodata service from my UI5 based application. I know I can achieve this using xsjs service but I would like to know if this is possible with xsodata.

 

I believe it could be done if we can model it as a media link entity and then use the ../$value endpoint to get the media link entity (which would also support Post/Put/Delete operations).

 

Is this feasible? Or is there any other way of achieving the same?

 

Any inputs in this regard would be of great help.

 

TIA.

 

Regards,

Suhas


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>