Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3354

Re: SAPUI5 Project - OData Consume example services - (No Data)

$
0
0

Hi,

 

What is error you are getting in your browser' console. Press F12 to check it.

This is basically a binding problem.

 

How you have used this URL?

 

var oModel = new sap.ui.model.ODataModel("http://services.odata.org/OData/OData.svc");

here this may be cross origin related issue so use proxy for it.

like this.

var oModel = new sap.ui.model.ODataModel("proxy/http/services.odata.org/OData/OData.svc");

Use Appropriate path for binding.

 

This might be also the version issues of OData.

Check it.

 

Regards

Dhananjay


Viewing all articles
Browse latest Browse all 3354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>