3 weeks ago
I need to set this property in my entity because my SAP MDK application consumes the metadata generated by SAP CAP service and I need to create a media action, but I must have this property and I don't know how to set it.
Adding the property @Core.MediaType in the entity will set hasStream=true in Entity
Thanks,
Vaibhav Maheshwari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @mvaibhav, I tried what you told me but it didn't work. The only change I saw is that it went from LargeBinary to Edm.Stream
This is the entity:
I use OData v4
Hi @emorales
For Odata V4 , you will get it as Annotation at the end and not in entity.
The screen shot which I attached is for Odata V2. I am using CAP CDS version 7.0
Thanks,
Vaibhav
Hi @emorales
You will need to provide more details for the error you are getting on uploading.
Also, what is the approach that you are using for uploading the media.
I would suggest creating a separate Question for the issue providing the details.
Thanks,
Vaibhav Maheshwari
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.