<?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: Updating document by specifying different content model in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/updating-document-by-specifying-different-content-model/m-p/283871#M237001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for you reply, mitpatoliya.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, they are content types (generic document types based on cm:content) .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand that I'm getting an error if I try to update an existing document based on a content type to another document with different content type because the documents are not based on the same or secondary content types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The point that I'm puzzled is that if I choose the option (for CMIS) to overwrite in case of existing document, even though the document I'm sending has different content type, I do not get any error but succeed to upload the document. However, only the thing updated on the Alfresco is the document's modified date/time. The document retains whatever it had before the update including the content type and all the properties and the values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The content types that I use are custom content types that I've added and all of them have cm:content as their parent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally, if I try to use other existing content types to update existing documents, exact same behavior is observed. i.e. if I use major/minor version option for updating document, I get the error (as expected). But if I use the overwrite option for updating, I don't get error but document is not replaced with the new one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I need to know if this is a behavior as designed, a known behavior which to be modified/fixed, etc. in order to create a specification for an application that I'm working on since it requires CMIS connection to Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 16:34:00 GMT</pubDate>
    <dc:creator>mr_t</dc:creator>
    <dc:date>2015-01-06T16:34:00Z</dc:date>
    <item>
      <title>Updating document by specifying different content model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-document-by-specifying-different-content-model/m-p/283869#M236999</link>
      <description>Hi,I'd like to know the correct behavior when trying to up date a document using different content model via CMIS.I have a document created based on a content model and I'm updating/replacing the document using the same name but using a different content model.If I set the update option on existing</description>
      <pubDate>Mon, 05 Jan 2015 19:59:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-document-by-specifying-different-content-model/m-p/283869#M236999</guid>
      <dc:creator>mr_t</dc:creator>
      <dc:date>2015-01-05T19:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Updating document by specifying different content model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-document-by-specifying-different-content-model/m-p/283870#M237000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By "different content model" you mean different content type?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are getting this error "content type is not valid or not one one of the secondary types"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;may be because your new content type is not inheriting any of the out of box basic content types.(cm:content or cm:folder)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 06:53:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-document-by-specifying-different-content-model/m-p/283870#M237000</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2015-01-06T06:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Updating document by specifying different content model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-document-by-specifying-different-content-model/m-p/283871#M237001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for you reply, mitpatoliya.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, they are content types (generic document types based on cm:content) .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand that I'm getting an error if I try to update an existing document based on a content type to another document with different content type because the documents are not based on the same or secondary content types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The point that I'm puzzled is that if I choose the option (for CMIS) to overwrite in case of existing document, even though the document I'm sending has different content type, I do not get any error but succeed to upload the document. However, only the thing updated on the Alfresco is the document's modified date/time. The document retains whatever it had before the update including the content type and all the properties and the values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The content types that I use are custom content types that I've added and all of them have cm:content as their parent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally, if I try to use other existing content types to update existing documents, exact same behavior is observed. i.e. if I use major/minor version option for updating document, I get the error (as expected). But if I use the overwrite option for updating, I don't get error but document is not replaced with the new one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I need to know if this is a behavior as designed, a known behavior which to be modified/fixed, etc. in order to create a specification for an application that I'm working on since it requires CMIS connection to Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 16:34:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-document-by-specifying-different-content-model/m-p/283871#M237001</guid>
      <dc:creator>mr_t</dc:creator>
      <dc:date>2015-01-06T16:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Updating document by specifying different content model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-document-by-specifying-different-content-model/m-p/283872#M237002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just confirmed that the updated document file content was also updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the the clarification that I need is whether I should get an error when trying to update a document by overwriting it with a document based on different content type.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 16:54:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-document-by-specifying-different-content-model/m-p/283872#M237002</guid>
      <dc:creator>mr_t</dc:creator>
      <dc:date>2015-01-06T16:54:13Z</dc:date>
    </item>
  </channel>
</rss>

