How to reuse SAPUI5 views?
I created a header for one SAP UI5 page, now I want to have a similar header with almost the same components in another page. So, for the sake of code reuse I tried to: put the header within a separate UI5 view create this header instance with var pageHeader = sap.ui.jsview("appHeader","view.appHeader"); add the pageHeader as content to the page in the customHeader field But this did not work, without given any errors! So is it possible to reuse custom UI components via a view and if yes how to do that? This problem is probably related to the several varaints of using sap.ui.jsview : View