Hi Robin ,
Thank you for your nice information on this .
Could you please let me know the clear difference among the below code.
sap.ui.getCore().setModel(oModel,"MyModel");
this.getView().setModel(oModel,"MyModel");
this.setModel(oModel,"MyModel");
I want to know which one is used in which context .
And at the same time I want to know the difference between the below code also
sap.ui.getCore().byId("Id of the ui control");
this.getView().byId("Id of the ui control");
this.byId("Id of the ui control");
Kindly explain the difference among them , which one is used at which context.