<?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 Re: set default mimetype at custom content type in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/set-default-mimetype-at-custom-content-type/m-p/278156#M231286</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;cm:content.mimetype is NOT a property you can override. It is a meta-property, that means it is a derived value from an actual property, cm:content in this case. You also can NOT override cmis:contentStreamMimeType because that property does not exist on the Alfresco persistence layer. It is only used in the mapping of the Alfresco data model to the CMIS domain model. The mimetype of the content referenced by the property cm:content is mapped as cmis:contentStreamMimeType.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general, it is bad practice to hijack a (meta-)property such as mimetype because it WILL break other functionality, specifically all the "open with" / "edit online" / "edit inline" actions that clients may provide. If you must handle documents in a special way, why not "just" use the custom document type you already seem to have?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 15:32:50 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2014-12-01T15:32:50Z</dc:date>
    <item>
      <title>set default mimetype at custom content type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/set-default-mimetype-at-custom-content-type/m-p/278155#M231285</link>
      <description>Hi there,For our custom document type (lets say custom:type‍ we want to set a custom mimetype as default mimetype (lets say application/custommimetype‍ if a document is created as custom:type‍. For this I tried to override the parent type's property &amp;lt;default&amp;gt;application/custommimetype&amp;lt;/defa</description>
      <pubDate>Fri, 28 Nov 2014 09:37:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/set-default-mimetype-at-custom-content-type/m-p/278155#M231285</guid>
      <dc:creator>michaelp</dc:creator>
      <dc:date>2014-11-28T09:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: set default mimetype at custom content type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/set-default-mimetype-at-custom-content-type/m-p/278156#M231286</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;cm:content.mimetype is NOT a property you can override. It is a meta-property, that means it is a derived value from an actual property, cm:content in this case. You also can NOT override cmis:contentStreamMimeType because that property does not exist on the Alfresco persistence layer. It is only used in the mapping of the Alfresco data model to the CMIS domain model. The mimetype of the content referenced by the property cm:content is mapped as cmis:contentStreamMimeType.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general, it is bad practice to hijack a (meta-)property such as mimetype because it WILL break other functionality, specifically all the "open with" / "edit online" / "edit inline" actions that clients may provide. If you must handle documents in a special way, why not "just" use the custom document type you already seem to have?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 15:32:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/set-default-mimetype-at-custom-content-type/m-p/278156#M231286</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-12-01T15:32:50Z</dc:date>
    </item>
  </channel>
</rss>

