on 2016 Mar 15 11:58 AM
I'm trying to use an OData V4 service with the neweste sapui5 library. I've seen in the API reference that it's still experimental, but at least for me it's not working at all.
I can't even consume the simple dummy service from odata.org.
sap.ui.model.odata.ODataModel("https://services.odata.org/V4/OData/OData.svc/", true, undefined, undefined, undefined, true, false, false);
All I'm getting is the exeption message: "Invalid metadata document" in the browser console.
In case I got it wrong and it's still not implemented at all, does someone know when it might will be released?
Thank you all for any information.
Check it out, it seems like OData V4 finaly just got released
https://sapui5.netweaver.ondemand.com/sdk#docs/api/symbols/sap.ui.model.odata.v4.ODataModel.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tim,
sap.ui.model.odata.ODataModel as well as sap.ui.model.odata.v2.ODataModel only support OData Version 2.0 services. We are currently developing a OpenUI5 / SAPUI5 model supporting OData Version 4.0 services. We will ship the UI5 OData V4 model with increasing feature scope with the upcoming UI5 releases. Due to its limited feature scope, we will not recommend to use the first of these releases of the model implementation for productive usage.
Regards
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tim,
Only odata 4.0 annotations are supported at the moment
Not sure when it will be fully supported though sorry.
Chantele
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.