Content Management and Capture

Content Management and Capture

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

 View Only
  • 1.  DocumentContextMenu Action Label Change

    Posted 12/09/20 05:53 PM

    Hi,

    I have a document search template which shows the list of documents for the matched criteria. When I click on a document, the document content menu shows multiple actions. One of the action is "As Original".

    My requirement is to rename the action "As Original" to DownloadContent. Please suggest the solution.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: DocumentContextMenu Action Label Change
    Best Answer

    Posted 12/10/20 01:52 AM

    Hi,

    The action label is in localized bundle ServicesMessages_[language code].properties on the ICN server. You may copy the source bundle from icnnls.jar in the 'IBM/ECMClient/configure/explodedformat/navigator/WEB-INF/lib' directory to the 'IBM/ECMClient/configure/explodedformat/navigator/WEB-INF/classes/com/ibm/ecm/nls' directory. Revise the label action.DownloadAsOriginal.label for your language locales. Then rebuild and redeploy the ICN web application.

    Regards,

    Angie



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 3.  RE: DocumentContextMenu Action Label Change
    Best Answer

    Posted 12/10/20 12:09 PM

    Hi Angie,

    Thanks for the reply. I have not understood few points.

    1.Below folder currently not available in my environment. You mean I should create that folder and copy the file ServicesMessages_[language code].properties in that new folder?

    IBM/ECMClient/configure/explodedformat/navigator/WEB-INF/classes/com/ibm/ecm/nls

    2.Then add the line action.DownloadAsOriginal.label=DownloadContent in the properties file.

    3.Rebuild and redeploy the ICN web application.

    or

    1.After modifying the file ServicesMessages_[language code].properties overwrite the file in icnnls.jar.

    2.copy the new icnnls.jar to IBM/ECMClient/configure/explodedformat/navigator/WEB-INF/lib.

    3.Rebuild and redeploy the ICN web application.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 4.  RE: DocumentContextMenu Action Label Change
    Best Answer

    Posted 12/14/20 05:09 AM

    Hi,

    1.Yes, you need to create the folder and copy the resource bundle file into the new folder. If you use English only, just copy ServicesMessages.properties.

    2.The label is already in the properties file and you may modify it in the copied file.

    No need to replace icnnls.jar.

    Regards,

    Angie



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 5.  RE: DocumentContextMenu Action Label Change
    Best Answer

    Posted 12/15/20 06:03 PM

    It is working perfectly. Thanks.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration