Content Management and Capture

 View Only
  • 1.  Content Navigator - XML viewer in FileNet + DocServices.properties

    Posted Tue September 21, 2021 05:10 PM

    Hi,

    I am looking for documentation about the DocService.properties in ICN.

    I have a situation at a client where they have stored XML documents in FileNet. Using Workplace XT + IE11, they are able to open them and refer to a XSD file to provide the layout. However, this doesn't work in modern browser (Chrome or Edge) and ICN.

    I am looking for a way to create a plugin that would allow us to convert the XML "on the fly" in HTML (or PDF) when the user opens the XML document.

    I found in the DocServices.properties a way to use a parameter named USEENGINE where you seem to specify the Mime-Type and what class to use to render the document. However, I didn't find any documentation about it.

    Can you point me into a direction?

    Thanks!

    Alex



    ------------------------------
    Alexandre Lanoue
    Executive & Leader - Enterprise Advisory Services
    SIA Innovations Inc.
    Montreal QC
    5148425764
    ------------------------------


  • 2.  RE: Content Navigator - XML viewer in FileNet + DocServices.properties

    IBM TechXchange Speaker
    Posted Wed October 06, 2021 09:00 AM
    Hi Alex, I just forwarded this note to a Content SME. I want to make sure you get an answer!

    David

    ------------------------------
    DAVID Jenness
    ------------------------------



  • 3.  RE: Content Navigator - XML viewer in FileNet + DocServices.properties

    Posted Wed October 06, 2021 11:51 AM
    Edited by ANDY Choi Fri October 08, 2021 07:36 PM
    Hi Alex,

    DocServices.properties is an internal configuration file used during document conversion done as part of the Download as PDF action and PDF/HTML Conversion viewers although we let customers edit the file to tweak some parameters and document how you can tweak them via technotes. Adding a custom conversion engine is not supported and it wouldn't be trivial to implement and have it loaded in ICN anyway.

    Have you tried configuring the ICN viewer map to open XML documents in the OOTB PDF/HTML Conversion viewer? If this doesn't work well, a better approach would be to add a custom plugin that provides a custom action or a custom viewer that lets users to download or view converted documents. You can refer to the sample plugin https://github.com/ibm-ecm/ibm-content-navigator-samples/tree/master/samplePlugin and ICN Redbook https://www.redbooks.ibm.com/redbooks/pdfs/sg248055.pdf for examples on how to add a custom plugin.

    Thanks,
    Andy

    ------------------------------
    ANDY Choi
    ------------------------------



  • 4.  RE: Content Navigator - XML viewer in FileNet + DocServices.properties

    Posted Fri October 08, 2021 12:22 PM
    Thx Andy

    ------------------------------
    MUTHURAMAN SWAMINADHAN
    ------------------------------