<?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: Versioning properties in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103249#M29416</link>
    <description>&lt;P&gt;Can you please help me with this query.&lt;/P&gt;&lt;P&gt;The default behavior that you have mentioned is not happening in our repo (ACS 6.2.2).&lt;/P&gt;&lt;P&gt;Whenever we create any new content from the create content menu in alfresco share, cm:versionable aspect does not seem to apply automatically. I beileve it only happens when we upload a content rather than create a custom content type. How to enable autoversion for all contents created through the create menu.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Apr 2021 15:09:14 GMT</pubDate>
    <dc:creator>udaikumar26</dc:creator>
    <dc:date>2021-04-08T15:09:14Z</dc:date>
    <item>
      <title>Versioning properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103245#M29412</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i would like to know, if is possible to somehow version changes in properties. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 14:54:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103245#M29412</guid>
      <dc:creator>MartinTichovsky</dc:creator>
      <dc:date>2020-05-06T14:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Versioning properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103246#M29413</link>
      <description>&lt;P&gt;What you mean by version change in properties?&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 06:38:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103246#M29413</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-05-07T06:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Versioning properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103247#M29414</link>
      <description>&lt;P&gt;I mean if is change to create new version when i&amp;nbsp; change document properties (via API or on Share). For now, what i see is, that when content is changed, can be make new version and all properties are stored exactly in the moment, when te content is changed. But i woul like to create a new version when i will change properties via API (something like, when i will declare new version in cm:version, on something like that).&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 14:46:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103247#M29414</guid>
      <dc:creator>MartinTichovsky</dc:creator>
      <dc:date>2020-05-08T14:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Versioning properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103248#M29415</link>
      <description>&lt;P&gt;Its not clear what you mentioned, but i believe you want to increment the version on the nodes whenever there is a property/properties update by any means.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To do that, add the following in alfresco-global.properties:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="ph filepath"&gt;version.store.enableAutoVersionOnUpdateProps=true&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ph filepath"&gt;This property is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph filepath"&gt;set to false by default. By default version increments on content updates.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;When you try to update the properties now 'after setting the above property to true' on this newly uploaded node, the version will be auto incremented.&lt;/P&gt;
&lt;P&gt;If you want that, existing nodes to auto version on properties update, then you would have to write a script to reset the already set&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"cm:autoVersionOnUpdateProps" property value to "true"&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;For newly uploaded nodes, you are good to go anyway.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Here is littile bit information about Default behavior:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;When you upload a file via share or by any means, cm:versionable aspect is applied on it. It by default sets following properties on the uploaded node:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;cm:autoVersion =&amp;gt; true - Tells that when the cm:versionable aspect is applied and initial snap shot of the node was taken&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;cm:initialVersion =&amp;gt; true - Tells that when ever a change is made to the "content of a node" that has the versionable aspect applied a new version will be created.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;cm:autoVersionOnUpdateProps =&amp;gt; false - Tells that version won't be incremented when properties are updated on a node.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;This is the default configuration at repo level:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;version.store.initialVersion=true&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;version.store.enableAutoVersioning=true&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;version.store.enableAutoVersionOnUpdateProps=false&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 20:17:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103248#M29415</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-05-11T20:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Versioning properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103249#M29416</link>
      <description>&lt;P&gt;Can you please help me with this query.&lt;/P&gt;&lt;P&gt;The default behavior that you have mentioned is not happening in our repo (ACS 6.2.2).&lt;/P&gt;&lt;P&gt;Whenever we create any new content from the create content menu in alfresco share, cm:versionable aspect does not seem to apply automatically. I beileve it only happens when we upload a content rather than create a custom content type. How to enable autoversion for all contents created through the create menu.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 15:09:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103249#M29416</guid>
      <dc:creator>udaikumar26</dc:creator>
      <dc:date>2021-04-08T15:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Versioning properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103250#M29417</link>
      <description>&lt;P&gt;Please check if you have manually disabled in any module or via behaviors or via any customization. It is unlikely that default behavior doesn't work.&lt;/P&gt;
&lt;P&gt;Here is the latest version of properties which still remains same as discussed above, so should work with 6.2.2 as well:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/repository.properties#L371" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/repository.properties#L371&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It would work default whenever a node is created in repository in whatever ways. Its not limited to upload ops.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If still doesn't work for you then use the provided properties and place it in your alfresco-global.properties file&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;version.store.initialVersion=true
version.store.enableAutoVersioning=true
version.store.enableAutoVersionOnUpdateProps=false&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:54:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103250#M29417</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-04-09T13:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Versioning properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103251#M29418</link>
      <description>&lt;P&gt;&lt;U&gt;Note:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I was very concerned about huge disk space usage increse if every version would make a copy of a file content. However, as I can see, new version after property update do &lt;STRONG&gt;not&lt;/STRONG&gt;&amp;nbsp;copy file content.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For others, here is Alfresco's UML about Autoversion (I'm posting it here becaouse its quite hard to find).&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/635iBD42ACAF68A77D93/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As you can see, file system is not changed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 09:44:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/versioning-properties/m-p/103251#M29418</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2022-09-15T09:44:18Z</dc:date>
    </item>
  </channel>
</rss>

