Skip to Content
May 27, 2014 at 07:33 AM

Post blob content via xsodata service


Hi All,

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


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.