Content Management and Capture

Content Management and Capture

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

 View Only
  • 1.  ICN - Formatting property values of documents?

    Posted Fri March 31, 2023 06:20 AM

    Is there a way in ICN to format certain attributes of a FN CE document?

    In FN CE, all values string are stored without formatting (we get them this way). However, the end-user would like to see those values with the formatting.

    Take for example a credit card number - just as an example so that I can explain, what we are looking for. PS: We don't have credit card numbers stored. 

    Entering or reading a credit card number without spaces is difficult for almost everyone. There are just to many digits. For searching, however, it much better to remove the spaces (has the user used 1 or 2 spaces .. or is there a special character). So one frequently stores the value "normalized" without any formatting.

    However, for the users, it would be great to display in the ICN the values with formatting.

    So is there any possibility either in FN CE or ICN to define a formatting or add custom code, which does this before the values are displayed anywhere in den ICN?



    ------------------------------
    Thomas Laes-Kushner
    ------------------------------


  • 2.  RE: ICN - Formatting property values of documents?

    Posted Fri March 31, 2023 06:37 AM
    Edited by Ankit Garg Fri March 31, 2023 06:53 AM

    Hi Thomas Laes-Kushner, FileNet supports following data types https://www.ibm.com/docs/zh-tw/filenet-p8-platform/5.5.x?topic=properties-overview. 
    For your requirements, customization would be required as you need to format the data before display hence ICN customization via request response filter should be good to explore. https://www.ibm.com/docs/en/content-navigator/3.0.x?topic=navigator-creating-plug-in-components

    Example https://www.ibm.com/support/pages/validate-customer-data-when-saving-document-or-folder talk about format validation before persisting the data, similar approach can be obtained via format compliance before display post payload retrieval of the query result.

    Few example How to create your first IBM Content Navigator Plugin Part1

    and How to create your first IBM Content Navigator Plugin Part2

    Github https://github.com/ibm-ecm/ibm-content-navigator-samples/tree/master/UserColumnSettingsPlugin

    Thanks 



    ------------------------------
    Ankit Garg Architect
    ------------------------------