<?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: OpenCMIS auto version when update properties in Community 5.0c in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284186#M237316</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've always found that setting the autoVersion / autoVersionOnUpdateProps to false in the contentModel.xml to be a poor / brute-force solution. The alternative would be to develop a behaviour (automation policy) that sets these properties when new documents are created, but based on some selection criteria, e.g. only for actual documents (and not objects that simply share the base type) within actual site document libraries or other company home root folders (and not wiki, blog or other containers).&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>Wed, 07 Jan 2015 12:29:30 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2015-01-07T12:29:30Z</dc:date>
    <item>
      <title>OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284185#M237315</link>
      <description>Hi.I'm developing a Java Application wich uses OpenCMIS to communicate with Alfresco Repository. When I update a document's properties a new version is always created. I've read a lot about the subject, but the only solutions I've found are those suggesting setting the autoVersion and autoVersionOnU</description>
      <pubDate>Wed, 07 Jan 2015 11:31:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284185#M237315</guid>
      <dc:creator>danielgonzález</dc:creator>
      <dc:date>2015-01-07T11:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284186#M237316</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've always found that setting the autoVersion / autoVersionOnUpdateProps to false in the contentModel.xml to be a poor / brute-force solution. The alternative would be to develop a behaviour (automation policy) that sets these properties when new documents are created, but based on some selection criteria, e.g. only for actual documents (and not objects that simply share the base type) within actual site document libraries or other company home root folders (and not wiki, blog or other containers).&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>Wed, 07 Jan 2015 12:29:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284186#M237316</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-01-07T12:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284187#M237317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your fast answer. I will try your solution as sonn as I fix another problem wich is driving me insane.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 12:45:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284187#M237317</guid>
      <dc:creator>danielgonzález</dc:creator>
      <dc:date>2015-01-12T12:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284188#M237318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you find a solution ? If yes, Could you share it ? I gave up few month ago about this &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:38:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284188#M237318</guid>
      <dc:creator>florian_baillag</dc:creator>
      <dc:date>2015-02-02T15:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284189#M237319</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;in addition to my first response, I'd also like to point out that you can set the following property to false in alfresco-global.properties to disable auto-versioning: "version.store.enableAutoVersioning"&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>Wed, 04 Feb 2015 14:39:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284189#M237319</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-02-04T14:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284190#M237320</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;Does it works with Alfresco 5.0.c ? Cause your answers mainly refers to Alfresco 4.x &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 08:10:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284190#M237320</guid>
      <dc:creator>florian_baillag</dc:creator>
      <dc:date>2015-02-05T08:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284191#M237321</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;my answer refers to Alfresco in general - nowhere did I say "Alfresco 4.x". Only my profile states "Alfresco 4.2" because that is what I am mainly using due to my work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The specific answers of this thread also apply to Alfresco 5.&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>Thu, 05 Feb 2015 08:29:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284191#M237321</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-02-05T08:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284192#M237322</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;Does your last method disable autoVersioning on the property update ? or it disable autoVersioning even for content update ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 09:09:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284192#M237322</guid>
      <dc:creator>florian_baillag</dc:creator>
      <dc:date>2015-02-06T09:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284193#M237323</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;it disables autoVersioning regardless of what is changed.&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>Fri, 06 Feb 2015 13:56:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284193#M237323</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-02-06T13:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284194#M237324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried to update form 5.0.a to 5.0.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this below was working on 5.0.a but don't seem to work in 5.0.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;version.store.enableAutoVersioning=false&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And it's painful "to reinvent the wheel" when upgrading alfresco !!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rem: I'am trying to devellop a web frontend with php/curl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've made a new try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact if you change a property in share thee's no version change but when you try with curl there's a change of version here is my cmd:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;curl -X PUT -umoaa:XXXXXX&amp;nbsp; "&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/entry?id=4165fb1c-282e-4d3f-9e33-41bf3c9c3cdf" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/entry?id=4165fb1c-282e-4d3f-9e33-41bf3c9c3cdf&lt;/A&gt;" -H 'Content-Type:application/atom+xml;type=entry;charset=UTF-8' -d @ModProp.xml &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And here is the MoProp.xml file&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;entry xmlns="&lt;A href="http://www.w3.org/2005/Atom" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2005/Atom&lt;/A&gt;" xmlns:cmisra="&lt;A href="http://docs.oasis-open.org/ns/cmis/restatom/200908/" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/ns/cmis/restatom/200908/&lt;/A&gt;" xmlns:cmis="&lt;A href="http://docs.oasis-open.org/ns/cmis/core/200908/" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/ns/cmis/core/200908/&lt;/A&gt;" xmlns:alf="&lt;A href="http://www.alfresco.org" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org&lt;/A&gt;" &amp;gt;&lt;BR /&gt;&amp;lt;cmisra:object&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;cmis:properties&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;cmis:propertyString propertyDefinitionId="cm:description"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;cmis:value&amp;gt;nouvel essai toto&amp;lt;/cmis:value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/cmis:propertyString&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/cmis:properties&amp;gt;&lt;BR /&gt;&amp;lt;/cmisra:object&amp;gt;&lt;BR /&gt;&amp;lt;/entry&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;perhaps somtehing wrong with the curl command or the xml data file ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 19:53:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284194#M237324</guid>
      <dc:creator>phil98</dc:creator>
      <dc:date>2015-02-06T19:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284195#M237325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, kinda same problem here with Alfresco 5.0.c and OpenCmis API:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- I created a behaviour that changes the version properties of autoVersioning to false. No effect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Set the property "version.store.enableAutoVersioning=false" just to try it (it would not be a solution for me, but I just wanted to test it). No effect&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No matter what, the contents are always autoversioned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Changing the contentModel.xml directly is out of discussion, but I don't think it would solve the issue anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 14:05:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284195#M237325</guid>
      <dc:creator>mreyem</dc:creator>
      <dc:date>2015-04-13T14:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCMIS auto version when update properties in Community 5.0c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284196#M237326</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 haven't checked yet but potentially, the CMIS implementation changed a bit in Alfresco 5.0.c and CMIS operations now automatically create a version unless the CMIS operation provides the proper versioningState parameter value (CMIS 1.1 section 2.1.13.7).&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>Tue, 14 Apr 2015 10:14:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/opencmis-auto-version-when-update-properties-in-community-5-0c/m-p/284196#M237326</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-04-14T10:14:24Z</dc:date>
    </item>
  </channel>
</rss>

