cancel
Showing results for 
Search instead for 
Did you mean: 

Post blob content via xsodata service

0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

WRoeckelein
Active Participant
0 Kudos

Hi,

this also came to my attention. It seems that xsodata currently does not support media entities. Is this true? Will this change in the future?

Regards,

Wolfgang

Former Member
0 Kudos

Hi,

I have the same doubts, have you solved?

Regards,

Diego.