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

Re: How to register external plugin resource incorporate with core plugin in RDE

$
0
0

Hi Yongqian,

 

As of version 1.4 this should be resolved as all plugin modules will have their paths registered automatically.

In your version you do need to do registerModulePath, you can use the pluginmanagement service to get your plugin's path dynamically and not hard code it, like this:

this.context.service.pluginmanagement.getPluginPath("myplugin").then(function(sResult){

     jQuery.sap.registerModulePath("myplugin",sResult);    

});

 

Hope this answers your question.

Regards,

Guy


Viewing all articles
Browse latest Browse all 8556

Trending Articles



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