Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8076

Get expanded data from oData provider

$
0
0

Hi Experts,

 

I have an UI5 (Fiori like) app connected to oData backend (not SAP).

I want to get manually the list of Items, wich are connected to a specific address. Through browser I get the proper data by: /courierdata.svc/Address(3)?$expand=Items

 

But in ui5 app I cant get the expended data.

 

scan_debug : function(evt) {  var a = evt.getSource().getBindingContext();  var b = this.getView().getBindingContext();  var data = sap.ui.getCore().getModel().getProperty(a.sPath +  "&$expand=Items",b,true);

I've tried different ways, I cant reach the deffered items. (When I give the Items path to a table, it displays the relevant data properly)

 

Any ideas?

 

 

David


Viewing all articles
Browse latest Browse all 8076

Trending Articles



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