We are developing an Addon and managed to complete functionalities and the Nuget packaging part as well.
We can install it in the site and it works fine in Episerver fresh sites.
But we ran into an issue (MultipleDefine error) when it comes to the loading jQuery when adding the two Addons that use jQuery also.
Both our module and other module add jQuery to the admin area. so we get MultipleDefine error as follows
Error: multipleDefine dojo.js:15
at _f (dojo.js:15:436)
at _f6 (dojo.js:15:15989)
at dojo.js:15:16572
at _9 (dojo.js:15:328)
at _7b (dojo.js:15:16543)
at _f0 (dojo.js:15:14659)
at HTMLScriptElement._10a (dojo.js:15:17619)
Do you have any input on how we can solve this?
We tried to add a ClientResourceProvider and ClientResourceRegistrator with a custom resource group name.
However, it is then not loading the files.
How we can stop conflicting our internal Jquery with other jQuery ? We see that the Shell module also has JQuery and there it is Dojo.js file as well. our product is a addon for Episerver CMS 12.
We are developing an Addon and managed to complete functionalities and the Nuget packaging part as well.
We can install it in the site and it works fine in Episerver fresh sites.
But we ran into an issue (MultipleDefine error) when it comes to the loading jQuery when adding the two Addons that use jQuery also.
Both our module and other module add jQuery to the admin area. so we get MultipleDefine error as follows
Do you have any input on how we can solve this?
We tried to add a ClientResourceProvider and ClientResourceRegistrator with a custom resource group name.
However, it is then not loading the files.
How we can stop conflicting our internal Jquery with other jQuery ? We see that the Shell module also has JQuery and there it is Dojo.js file as well. our product is a addon for Episerver CMS 12.