Content Management and Capture

Content Management and Capture

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

 View Only

How to Retrieve Multiple File Contents in One Request Using CMIS on FileNet

  • 1.  How to Retrieve Multiple File Contents in One Request Using CMIS on FileNet

    Posted Sun March 09, 2025 04:36 AM

    Hello Community,

    I am working with IBM FileNet CMIS and need to retrieve multiple file contents in a single request. Currently, I am using getContentStream to fetch file content, but it only supports one file per request.

    What I Have Tried:

    1. CMIS Query (SELECT cmis:objectId, cmis:name FROM cmis:document WHERE IN_FOLDER('xyz'))

      • This helps fetch multiple file object IDs, but I still need to call getContentStream separately for each file.
    2. Parallel Requests for getContentStream

      • This works, but I am looking for a way to get multiple file contents in one request to optimize performance.
    3. Custom Web Service Approach

      • Considering a middleware solution (e.g., IBM API Connect) to batch requests, but wondering if there's a built-in CMIS method for this.

    My Question:

    • Is there a native way in CMIS/FileNet to retrieve multiple file contents in a single request?
    • Does FileNet CMIS support MTOM/XOP batch retrieval for multiple files?
    • Any best practices or recommendations for handling bulk content retrieval efficiently?

    Appreciate any insights



    ------------------------------
    ------------------------------
    Thanks & Regards,
    Ahmed Alsareti
    ------------------------------

    ------------------------------