cancel
Showing results for 
Search instead for 
Did you mean: 

Table binding in XML Views

nishantbansal91
Active Contributor
0 Kudos

Dear Team,

I don't have backend system for accessing the Odata Service. I am using Service that is given by SAP.

http://services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/

I have created one XML view. How we can bind the odata service Product list into XML View and controller.

In the component.js file i have initiated the Odata service. How we can bind the entity set to Table .

  var url = "http://services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/";

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

  oView.setModel(oModel);

Code for the Component.js.

Kindly help me how we can do binding in table .

Thanks

Nishant

Accepted Solutions (0)

Answers (1)

Answers (1)

santhu_gowdaz
Active Contributor
0 Kudos