<?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 Upload content without versioning in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/upload-content-without-versioning/m-p/135902#M36503</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is there an API to upload content in an existing node without versioning it ? I think upload.post.js can only do it by versioning it, isn't it ?&lt;/P&gt;&lt;P&gt;Thanks for helping me!&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2022 08:56:56 GMT</pubDate>
    <dc:creator>ValentinLeblanc</dc:creator>
    <dc:date>2022-03-10T08:56:56Z</dc:date>
    <item>
      <title>Upload content without versioning</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-content-without-versioning/m-p/135902#M36503</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is there an API to upload content in an existing node without versioning it ? I think upload.post.js can only do it by versioning it, isn't it ?&lt;/P&gt;&lt;P&gt;Thanks for helping me!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 08:56:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-content-without-versioning/m-p/135902#M36503</guid>
      <dc:creator>ValentinLeblanc</dc:creator>
      <dc:date>2022-03-10T08:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Upload content without versioning</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-content-without-versioning/m-p/135903#M36504</link>
      <description>&lt;P&gt;So either you can do versioning or you can't. It happens at repo layer In general. Unless you have a very specific case like a custom type where you dont want to version but allow for others, then you can make use of java behaviors.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;If you want to disable versioning completely, you can set this property in alfresco-global.properties and restart:&lt;/U&gt;&lt;/P&gt;
&lt;PRE&gt;version.store.enableAutoVersioning=false&lt;/PRE&gt;
&lt;P&gt;This would stop versioning any newly created content, but existing content will continue to version.&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;

&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;EM&gt;You can also review these threads to find more details:&lt;/EM&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/version-history-does-not-include-property-updates/m-p/297112/highlight/true#M18250" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/version-history-does-not-include-property-updates/m-p/297112/highlight/true#M18250&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/disabling-auto-versioning-in-alfresco-linux/m-p/304591/highlight/true#M22888" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/disabling-auto-versioning-in-alfresco-linux/m-p/304591/highlight/true#M22888&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/cannot-disable-global-versioning/m-p/304592/highlight/true#M22889" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/cannot-disable-global-versioning/m-p/304592/highlight/true#M22889&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 20:11:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-content-without-versioning/m-p/135903#M36504</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-03-10T20:11:57Z</dc:date>
    </item>
  </channel>
</rss>

