<?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: Can the content type of a document be updated through CMIS? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/can-the-content-type-of-a-document-be-updated-through-cmis/m-p/81256#M25080</link>
    <description>&lt;P&gt;Can you create (not specialize) your custom content type from CMIS?&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2019 11:03:37 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2019-11-27T11:03:37Z</dc:date>
    <item>
      <title>Can the content type of a document be updated through CMIS?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/can-the-content-type-of-a-document-be-updated-through-cmis/m-p/81255#M25079</link>
      <description>&lt;P&gt;Using Apache Chemistry, is it possible to specialize the content type of a document?&amp;nbsp; I tried the following:&lt;/P&gt;&lt;PRE&gt;Map&amp;lt;String, Object&amp;gt; properties = &lt;SPAN&gt;new &lt;/SPAN&gt;HashMap&amp;lt;String, Object&amp;gt;()&lt;BR /&gt;properties.put(PropertyIds.&lt;SPAN&gt;OBJECT_TYPE_ID&lt;/SPAN&gt;, &lt;SPAN&gt;"D:gry:policyType"&lt;/SPAN&gt;)&lt;BR /&gt;properties.put(&lt;SPAN&gt;"gry:policyNumber"&lt;/SPAN&gt;, policyNumber)&lt;BR /&gt;document.updateProperties(properties)&lt;/PRE&gt;&lt;P&gt;The existing document is of type D:gry:content and D:gry&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;olicyType is a subtype.&amp;nbsp; Through Alfresco Share I can use the "Change Type" action but when I try through CMIS it seems to be ignored.&amp;nbsp; Adding aspects or changing other properties works fine.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 18:49:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/can-the-content-type-of-a-document-be-updated-through-cmis/m-p/81255#M25079</guid>
      <dc:creator>niele</dc:creator>
      <dc:date>2019-11-26T18:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can the content type of a document be updated through CMIS?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/can-the-content-type-of-a-document-be-updated-through-cmis/m-p/81256#M25080</link>
      <description>&lt;P&gt;Can you create (not specialize) your custom content type from CMIS?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 11:03:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/can-the-content-type-of-a-document-be-updated-through-cmis/m-p/81256#M25080</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-11-27T11:03:37Z</dc:date>
    </item>
  </channel>
</rss>

