Hi I'm trying to make a split view application in sapui5.
However when I'm trying to select an entry from the master view(left side of the split screen), the view is coming on left side only.
And if I try adding this in the App.view.js
this.app.addDetailPage(sap.ui.xmlview("Trial", "view.Trial"));
It is giving the following error:
Uncaught Error: Error: adding element with duplicate id 'Trial'
Please note that the views used in the app are XML views not JS view