How to pass viewData when routing is implemented,
var account = new sap.ui.view({id:"account", viewName:"com.dealer.view.accounts.Accounts",viewData:data.userName, type:sap.ui.core.mvc.ViewType.JS});
How to pass viewData when routing is implemented,
var account = new sap.ui.view({id:"account", viewName:"com.dealer.view.accounts.Accounts",viewData:data.userName, type:sap.ui.core.mvc.ViewType.JS});