hi,
you are not getting "oSplitAppInstance" object that's why you are getting " Cannot read property 'addDetailPage' of undefined " error
so keep breakpoint after var oSplitAppInstance = sap.ui.getCore().byId("splitAppId"); then check
hi,
you are not getting "oSplitAppInstance" object that's why you are getting " Cannot read property 'addDetailPage' of undefined " error
so keep breakpoint after var oSplitAppInstance = sap.ui.getCore().byId("splitAppId"); then check