Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8620

Re: Redirect access to application resources in SAPUI5

$
0
0

Hi buddy,

 

 

 

I think you can reference this tutorial, it shuold be useful for you:

SAPUI5 SDK - Demo Kit

From my understanding, it can be simplely explained for it:

      jQuery.sap.registerModulePath("resource name","relative location")

 

show below:

 

If the application needs a more flexible mapping between resource names and their location, use the following code:

#!js jQuery.sap.registerModulePath("my.example.component","example/component/");

After the registration, SAPUI5 knows multiple resources locations for different namespaces:

 RESOURCE ROOT:{"":"../../../../resources/""example.component":"example/component""my.example.component":"example/component/"}

Viewing all articles
Browse latest Browse all 8620

Trending Articles



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