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

Calls to javascript ecm.model.Request.postPluginService() do not provide a JSONArtifact to JAVA PluginRequestFilters

  • 1.  Calls to javascript ecm.model.Request.postPluginService() do not provide a JSONArtifact to JAVA PluginRequestFilters

    Posted 03/31/21 11:48 AM

    Calls to javascript ecm.model.Request.postPluginService() do not provide a JSONArtifact to JAVA PluginRequestFilters, which we are expecting.

    Is there a way for my PluginService in java to invoke the registered Request Filters with a JSONArtifact so they may modify it?

    servlet responsible for the path (navigator/jaxrs/plugin)



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: Calls to javascript ecm.model.Request.postPluginService() do not provide a JSONArtifact to JAVA PluginRequestFilters

    Posted 04/02/21 03:47 AM

    Hi,

    The request parameters are not in JSON format. You may implement a request filter to change the parameters.

    Refer to the redbook http://www.redbooks.ibm.com/Redbooks.nsf/RedpieceAbstracts/sg248055.html. Sample plugins are available at https://github.com/ibm-ecm/ibm-content-navigator-samples.

    Regards,

    Angie



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration