Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Skip Add Document dialog for Box copy

    Posted 01/26/21 11:08 PM

    I need to use Box copy feature to copy the documents from FileNet Repository to Box. After selecting the target box folder in Box copy dialog, it opens Add Document dialog. Is it possible to avoid showing the Add Document dialog and directly copies the selected documents to Box just after clicking Copy button in Box Copy dialog?



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: Skip Add Document dialog for Box copy

    Posted 01/27/21 02:28 AM

    Hi,

    I suggest you to raise a FER(Feature Enhancement Request) and if it can be accpeted by IBM, you can get IBM official support.

    In the other way, I think this also can be implemented by a plugin but all the custom codes are not officially supported.

    For the plugin code, you can overwrite the method 'actionBoxCopy' in ecm/widget/layout/CommonActionsHandler.js. But the details logic is in 'actionCopyToFolder'. So it is a safe way to overwrite the method 'actionCopyToFolder' with a new custom method in your plugin code and add your custom logic there. And instead of calling 'actionCopyToFolder' in 'actionBoxCopy', you need to change to call your own method. To avoid showing the Add Document dialog, you can drop to use 'moveFileDialog' and write your code there.

    Thanks,

    Jason



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 3.  RE: Skip Add Document dialog for Box copy

    Posted 01/27/21 03:57 AM

    I see the actual call to /box/addItem only happens from the onAdd function in AddDocumentDialog. If i overwrite addCopytoFolder them do I need to implement all the logic to check target box folder access and post request to box add item???



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 4.  RE: Skip Add Document dialog for Box copy

    Posted 01/28/21 02:47 AM

    I am afraid yes, so I suggest you to raise a FER to see if there can be a flag in desktop settings to control whether to show the add document dialog.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration