Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding OData load

Former Member
0 Likes
527

I am very new to SAPUI5. I am not clear about OData remote service. If I have a Odata property in manifest.json file like

"dataSources": {
"productRemote": {
"uri": "https://cors-anywhere.herokuapp.com/http://services.odata.org/V2/(S(frik5l2zde0sxh4jiifyhqo4))/OData/OData.svc/"",
"type": "OData",
"settings": {
"odataVersion": "2.0"
}
}
}

Then do I need to also create Odata model like

var oModel = new sap.ui.model.odata.ODataModel(sServiceUrl, true);

I am very new to SAPUI5. I am not clear about OData remote service. If I have a Odata property in manifest.json file like

"dataSources": {
"productRemote": {
"uri": "https://cors-anywhere.herokuapp.com/http://services.odata.org/V2/(S(frik5l2zde0sxh4jiifyhqo4))/OData/OData.svc/"",
"type": "OData",
"settings": {
"odataVersion": "2.0"
}
}
}

Then do I need to also create Odata model like

var oModel = new sap.ui.model.odata.ODataModel(sServiceUrl, true);
0 REPLIES 0