Hi experts,
I have binded my data to my view like this:
var key = "/SalesSet('" + oEvent.getParameter("arguments").salesactivity + "')";
var pgDetail = sap.ui.getCore().byId("pgDetail");
pgDetail.bindElement(key);
pgDetail is the ID of the Page element on this view.
When executing this line: console.log(sap.ui.getCore().byId("pgDetail").getModel()); I see the model that was binded to the view.
Now I would like to have access to these objects that are located in the oData object. How can I do this?
Kind regards,
Bart Geudens