BPM, Workflow, and Case

 View Only
  • 1.  ICN desktop is not loading with plugin errors

    Posted Wed March 06, 2024 10:53 AM

    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
    ------------------------------


  • 2.  RE: ICN desktop is not loading with plugin errors

    Posted Tue March 12, 2024 10:09 AM

    Hi Ravi Kiran,

    Please check the application server logs for more information about the error. The above browser console error seems not related to this plugin.



    ------------------------------
    RAVI KUMAR
    ------------------------------



  • 3.  RE: ICN desktop is not loading with plugin errors

    Posted Wed March 13, 2024 06:58 AM

    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
    ------------------------------



  • 4.  RE: ICN desktop is not loading with plugin errors

    Posted Tue March 19, 2024 10:46 AM

    Thanks Mathias Korell for you suggestion. I will check and update them.



    ------------------------------
    Ravi Kiran Saladi
    ------------------------------