<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CMIS Upload - MIME type in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmis-upload-mime-type/m-p/305729#M258859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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&amp;nbsp; "Binary File (Octet Stream)", and from that moment it will not be indexed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 May 2013 17:27:02 GMT</pubDate>
    <dc:creator>roodie</dc:creator>
    <dc:date>2013-05-04T17:27:02Z</dc:date>
    <item>
      <title>CMIS Upload - MIME type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-upload-mime-type/m-p/305729#M258859</link>
      <description>Hello,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</description>
      <pubDate>Sat, 04 May 2013 17:27:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-upload-mime-type/m-p/305729#M258859</guid>
      <dc:creator>roodie</dc:creator>
      <dc:date>2013-05-04T17:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS Upload - MIME type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-upload-mime-type/m-p/305730#M258860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you please share the code? The setContentStream method definitely passes the mimetype along. It should use whatever you pass in contentType. If you do not pass contentType it will attempt to guess it, but it isn't very good at that, so it is better to pass it explicitly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2013 10:48:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-upload-mime-type/m-p/305730#M258860</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-05-11T10:48:17Z</dc:date>
    </item>
  </channel>
</rss>

