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

Calling View from One package to another

$
0
0

Hi,

     I have problem in calling view from one package to another package but its showing failed to laod resource error.In the below code i'm trying to get the view from one of my another package and load it from my package

ex:

jQuery.sap.registerModulePath("Demo", "/Package_name/WebContent/Folder_name");

            var view = sap.ui.view({id:"id",viewName:"Demo.Proj", type:sap.ui.core.mvc.ViewType.JS});

it shows 404 not found error


Viewing all articles
Browse latest Browse all 6178


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