Thanks Mathias Korell for you suggestion. I will check and update them.
Original Message:
Sent: Wed March 13, 2024 06:57 AM
From: Mathias Korell
Subject: ICN desktop is not loading with plugin errors
Hi Ravi, multipleDefine is an error of Dojo ClassLoader https://dojotoolkit.org/reference-guide/1.10/loader/amd.html .
"The most common cause of this problem is loading modules via <script>
elements in the HTML document. Use the loader; don't use <script>
elements. The second most common cause is passing explicit module identifiers to define
; don't do this either."
Did you set a moduleId parameter in your define calls (should not be provided)? Or load modules through <script> elements, which lead to conflicts?
Redbook Customizing and Extending ICN https://www.redbooks.ibm.com/abstracts/sg248055.html provides a wealth of samples, as well as ICN samples here https://github.com/ibm-ecm/ibm-content-navigator-samples/tree/master/samplePlugin
------------------------------
Mathias Korell
Original Message:
Sent: Wed March 06, 2024 10:53 AM
From: Ravi Kiran Saladi
Subject: ICN desktop is not loading with plugin errors
Hi All,
We have developed a custom plugin and configured for desktop but while loading desktop which is giving blank screen without showing any features and we were seeing below errors in browser console and which looks some default script errors. Please help me with some fix.
If we disable the plugin then desktop loading as expected, so with that there is some issue in loading plugin. Please suggest!
Error in console :
Uncaught TypeError: util.getResourceBundle is not a function
at Configuration.js:19:23
at la (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:20:405)
at la (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:20:114)
at la (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:20:114)
at dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:21:158
at ma (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:21:25)
at ja (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:21:100)
at c (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:23:326)
at HTMLScriptElement.<anonymous> (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:28:57)
Error: multipleDefine
at p (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:3:13)
at Ma (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:25:201)
at dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:26:121
at d (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:2:436)
at ab (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:26:99)
at c (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:23:169)
at HTMLScriptElement.<anonymous> (dojo.js.35c752f5e79590df5d06dbfe372480b9.jgz:28:57)
------------------------------
Ravi Kiran Saladi
------------------------------