Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

List No Data

$
0
0

Hello Experts,

 

I'm trying to fill in my list with data from the gateway service:

 

var oListStandard1 = new sap.m.List({

  inset : false

  });

 

  var oItemTemplate1 = new sap.m.StandardListItem({

  type : sap.m.ListType.Navigation,

  title : "{Name}",

  description : "{ID}",

  });

 

  var oModel = new sap.ui.model.json.JSONModel(

  "http://ws8flex71.sap.flexso.com:8000/sap/opu/odata/sap/YXM_GWS_BART_SRV/mat_group?$format=json");

 

  oListStandard1.setModel(oModel);

 

  oListStandard1.bindAggregation("items", "/Name",

  oItemTemplate1);

 

But when i run the app the list says 'No Data' ...

 

Kind Regards,

 

Bart


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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