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