Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Get Access to Controller from JS View

$
0
0

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


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>