AnsweredAssumed Answered

CMIS Upload - MIME type

Question asked by roodie on May 4, 2013
Latest reply on May 11, 2013 by jpotts

I am using the python CMIS lib to access an Alfresco repository (latest community version) from python, and I have a problem. If I update the content stream of an existing document (using setContentStream) via cmislib, Alfresco does not recognize the mime type of the document properly, even if it is sent with the paramter contentType="application/octet-stream".

In the tests I user a simple RTF document. If I upload it using Share, it's content type will be 'Rich Text' on the properties page. But if I use cmislib to upload the exact same file, the content type will be  "Binary File (Octet Stream)", and from that moment it will not be indexed.

Any ideas?