Skip to Content
0
Former Member
Aug 17, 2013 at 02:29 PM

Get Access to Controller from JS View

26 Views

Hi all

How to get access to the view controller from the js view?

I tried the followings, but didn't work

this.getControllerName()

sap.ui.getCore().byId(<viewname>).getController()

What is the correct way to get the controller.

Regards

Aakash