Content Management and Capture

 View Only
Expand all | Collapse all

Is there any API/Scripts available for importing the ICN desktop from an ICN configuration properties file?

  • 1.  Is there any API/Scripts available for importing the ICN desktop from an ICN configuration properties file?

    Posted Thu March 03, 2022 11:51 AM
    Hi All,

    When we deploy ICN desktop from DEV to QA/Prod Environment, usually we export the configuration by downloading the ICN configuration properties file by clicking on the export button present in admin desktop and then import it to target Environment. Now, we are looking at automating this process.

    Do we have any API/scripts which can help us with importing the ICN desktop from an already exported ICN configuration properties file?

    Thanks,
    Geetha


    ------------------------------
    Geetha Jini C
    ------------------------------


  • 2.  RE: Is there any API/Scripts available for importing the ICN desktop from an ICN configuration properties file?

    IBM Champion
    Posted Fri March 04, 2022 03:42 AM
    Hi Geetha,

    I have not implemented this exactly, but - for continuous delivery - we have comparably loaded a new plugin via script in the ICN. For this we use the REST webservice from the ICN.
    I have not found a good documentation for this. You can examine the network communication with the ICN in the browser for individual actions.
    For loading the plugin we did the following steps:
    1. login at the ICN (navigator/jaxrs/logon)
    2. extract cookies and security token from response
    3. load plugin (navigator/jaxrs/admin/loadPlugin), pass cookie and security token
    4. update plugin configuration (navigator/jaxrs/admin/configuration - action=update), pass cookie and security token
    You must now use the following endpoint at step 3: navigator/jaxrs/admin/importExport - action=import

    Best regards
    Christoph

    ------------------------------
    Christoph Sünderkamp
    Senior Consultant
    ISR Information Products AG
    Münster
    ------------------------------



  • 3.  RE: Is there any API/Scripts available for importing the ICN desktop from an ICN configuration properties file?

    Posted Fri March 04, 2022 04:51 AM
    Hi Christoph,

    Thank you for the reply and details shared. We will try it out.

    Thanks,
    Geetha

    ------------------------------
    Geetha Jini C
    ------------------------------