AnsweredAssumed Answered

CMIS multiple streams when creating document

Question asked by iblanco on Aug 13, 2013
Latest reply on Mar 15, 2018 by nareshkonda
I would like to be able to create a document in Alfresco using CMIS but with multiple contents uploaded at the same time, in the same transactional context, both or none. The main content stream would be a DWG file and the second stream would be a PDF rendition.

As stated in <a href="">this feature request</a> it seems that CMIS does not yet allow multiple streams to be attached to a document. It does support renditions but AFAIK the CMIS rendition service is a "read only" service and when creating a content only a single Stream can be attached.

So I was wondering if it is possible at all assigning the second stream to a property of type "d:content". Does CMIS support it in any way ? And once assigned would it be possible to get the second stream back as a property ?

Once I have the content in a property I could probably transform it to be a rendition using a behaviour or a customized rendition engine.

Otherwise I'll have to zip both contents and upload them so that a behaviour unzips it in the transaction itself or something like that.