Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

UI5 load view from another view

$
0
0

Hi all,

 

I'm trying to load a view from an external project. The idea being that a view can be used by multiple projects to cater for reuse e.g a view that has different view modes, user role privileges etc.

 

however I can't seem to find a way to find out how to do it. I've been trying to use the sap.ui.localResources function but that only looks locally (obviously). I can also register the folder structure using the jQuery.sap.registerModulePath but then when trying to combine it with embedding a view, it uses a different path, off the UI5 resource root.

 

Has anyone else been able to do this? It feels like something that should be possible (like normal web project dependency) but I can't figure it out.

 

If you can help or refer me to some documentation then that would be great!

 

Thanks

 

Mark


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>