Content Management and Capture

Content Management and Capture

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

 View Only
Expand all | Collapse all

Increase number of folders in Templates

  • 1.  Increase number of folders in Templates

    Posted 07/28/20 07:59 PM

    Have a template "Add Document using Entry Template" Brings up template, I click on Save In and it lists my first 200 folders. I need to be able to bring up 1500-2000 folders so if I type the folder name at top it will bring it up. Currently this folder is beyond the first 200 folders and so I do not need to click MORE for the next 200 folders etc..."



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: Increase number of folders in Templates

    Posted 07/29/20 12:53 AM

    The page size is a fixed constant in ICN. If you want to change the behavior of this, the search for folders need to be implemented in the custom plugin service. And a request filter is needed for filter p8/openFolder, when the parameter in request "filter_type" == "folderSearch", go for custom plugin service to get all folders.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 3.  RE: Increase number of folders in Templates

    Posted 07/29/20 01:49 AM

    ​Hi,

    You can use plugin to do this. Write a response filter for 'openFolder' action and change the value of 'pageSize' from 200 to an appropriate value maybe 2000. But this plugin will also impact the Browse view.

    Thanks,

    Jason



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 4.  RE: Increase number of folders in Templates

    Posted 07/29/20 12:33 PM

    So is this plugin part of the ICN or do I need to download and create a jar to add as plugin in ICN? is there any documentation to do this procesure?



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 5.  RE: Increase number of folders in Templates

    Posted 07/30/20 01:32 AM

    This plugin is not an existing one. It needs to be developed.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 6.  RE: Increase number of folders in Templates

    Posted 07/30/20 01:38 AM

    And I would think this plugin needs to be a request plugin that call custom plugin service with page size you want. The page size cannot be just changed by plugin.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 7.  RE: Increase number of folders in Templates

    Posted 07/30/20 01:44 AM

    Oh, I just found that the pageSize can be set by a request plugin to put into request by request.setAttribute( "pageSize", 2000 ). Then, in the response filter to modify the "pageSize" in response JSON.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 8.  RE: Increase number of folders in Templates



  • 9.  RE: Increase number of folders in Templates

    Posted 07/30/20 08:18 PM

    My company is new to this tool so forgive me for asking silly questions.

    We used the administrative tool to register/install the plug-in "Search Page Size Plug-in" version 2.0.3.8.

    Within the Navigator tool, we added the plug-in and load it as a JAR path file. We were able to increase the size of the "Search Page Size" to 2000.

    The information description states "Specify the number of search results to display on a single page. If you set this property to 0, all of the results are returned on a single page. If you don't specify a value, the web client returns 200 per page."

    To me, when I set the size to 2000, save and refresh my desktop, navigator should return all the folders in my folder structure, however it is still only returning 200.

    I read the Redbook you referenced above, but it refers to creating, testing and deploying new plug-ins.

    I want to use the plug-in made available to me with the tool, just like when we registered and enabled "IBM Content Platform Engine Applets Support" for me to load Process Designer. Other than enabling the plug-in, I didn't have to do anything else.

    Would you kindly help me to understand why I have to do additional development when there is an available plug-in with a parameter field I can update. I don't understand why it it not firing. The only note I see on the plug-in is "Important: The IBM Content Navigator web application server must be able to access the plug-in file on the local file system or through a URL."

    We made the jar available by providing the path.

    Thank you so much for your help and patience.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 10.  RE: Increase number of folders in Templates

    Posted 07/31/20 12:30 PM

    Calvin, why does it need to be a custom plugin service when there is already a plugin out of the box that provide the results? By registering the "Search Page Size Plugin" and changing the "Search Page Size" as part of the configuration, why would it not pick up the configuration change? I do not get any errors when I save the change.

    Thank you.




    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 11.  RE: Increase number of folders in Templates

    Posted 07/31/20 12:31 PM

    Hi Jason,

    My company is new to this tool so forgive me for asking silly questions.

    We used the administrative tool to register/install the plug-in "Search Page Size Plug-in" version 2.0.3.8.

    Within the Navigator tool, we added the plug-in and load it as a JAR path file. We were able to increase the size of the "Search Page Size" to 2000.

    The information description states "Specify the number of search results to display on a single page. If you set this property to 0, all of the results are returned on a single page. If you don't specify a value, the web client returns 200 per page."

    To me, when I set the size to 2000, save and refresh my desktop, navigator should return all the folders in my folder structure, however it is still only returning 200.

    I read the Redbook you referenced above, but it refers to creating, testing and deploying new plug-ins.

    I want to use the plug-in made available to me with the tool, just like when we registered and enabled "IBM Content Platform Engine Applets Supportfor me to load Process Designer. Other than enabling the plug-in, I didn't have to do anything else.

    Would you kindly help me to understand why I have to do additional development when there is an available plug-in with a parameter field I can update. I don't understand why it it not firing. The only note I see on the plug-in is "Important: The IBM Content Navigator web application server must be able to access the plug-in file on the local file system or through a URL."

    We made the jar available by providing the path.

    Thank you so much for your help and patience.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration