ui5 call view or method from another view

// call view or method from another view //# view call // var view2=sap.ui.jsview("ui5d.popup01"); // view2.placeAt("content2"); //var view2=sap.ui.jsview("Application[name].popup01[viewname]"); //# method call //sap.ui.controller("ui5d.popup01").callfromnewView //# get object by id //sap.ui.getCore().byId('Layout1');