Content Management and Capture

 View Only
Expand all | Collapse all

AddContentItemGeneralPane.extend not working in new ICN 3.0.9 version

  • 1.  AddContentItemGeneralPane.extend not working in new ICN 3.0.9 version

    Posted Fri January 08, 2021 05:52 AM

    We have a few ICN plugins where we extend the ICN EntryTemplate panel to pre-fill certain values from FileNet Objects by using AddContentItemGeneralPane.extend . This was working fine with ICN 3.0.3.iFix09 (and CPE-5.2.1.7). After simulating an upgrade of ICN to ICN-3.0.9 (and CPE-5.5.4), this piece of DOJO code is no more getting invoked.

    Can you please let me know if this usage has been updated/changed with the newer version of ICN 3.0.9 ?

    Thanks a lot in advance for all your feedback and support into the same issue.

    Below is the sample code snippet for reference, that was in use in a few ICN plugins with older version of ICN 3.0.3.iFix09. This works fine with ICN 3.0.3, but does not work with ICN 3.0.9 anymore.

    AddContentItemGeneralPane.extend({

    setTargetLocation: function(folder, repository, objectStore, teamspace, allowBrowse, treatFolderAsRoot, selectInitialFolder) {

    ..........................................

    .........................................

    }

    });



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: AddContentItemGeneralPane.extend not working in new ICN 3.0.9 version

    Posted Fri January 08, 2021 07:13 AM

    Hi,

    This may relate to dojo changes from 1.10.4 to 1.15.3. You may override the ICN function by adding the following to your custom plugin.

    ecm.widget.AddContentItemGeneralPane.prototype.setTargetLocation = function(folder, repository, objectStore, teamspace, allowBrowse, treatFolderAsRoot, selectInitialFolder) { .... }

    Regards,

    Angie



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 3.  RE: AddContentItemGeneralPane.extend not working in new ICN 3.0.9 version

    Posted Fri January 08, 2021 09:42 AM

    Thanks Angie, I just did a quick try by adding the above snippet into the <Plugin>.js and still the control does not come to this method and it does not work. It would be great if you can share a sample working sample / example on how an AddContentItemGeneralPane can be extended in an ICN plugin. Thanks a lot in advance for all your feedback and support.

    Rgs,

    Jiten



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration