If I use this.getView() inside the controller of a view I can retrieve it without problems. How can I retrieve the view if I am outside the controller (e. g. in
this.getView()
varRequired = sap.ui.getCore().byId("");
this keyword refers to only the particular controller where as sap.ui.getCore() refers to the project views.
this
sap.ui.getCore()