<?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: Overwriting content vs version service in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/overwriting-content-vs-version-service/m-p/239299#M192429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can you "change the content" without changing the version?&amp;nbsp;&amp;nbsp;&amp;nbsp; The act of committing your change will version the node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More details please.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Oct 2010 17:32:24 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2010-10-22T17:32:24Z</dc:date>
    <item>
      <title>Overwriting content vs version service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overwriting-content-vs-version-service/m-p/239298#M192428</link>
      <description>Hi,I have some content (PDF) that has the "versionable" aspect set.&amp;nbsp; I'm using some java with contentWriter.getWriter.putContent to replace the content without changing the version.&amp;nbsp; The Share preview panel and download action point to the new content just fine.&amp;nbsp; However it looks like the version se</description>
      <pubDate>Fri, 22 Oct 2010 17:06:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overwriting-content-vs-version-service/m-p/239298#M192428</guid>
      <dc:creator>ruighr</dc:creator>
      <dc:date>2010-10-22T17:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Overwriting content vs version service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overwriting-content-vs-version-service/m-p/239299#M192429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can you "change the content" without changing the version?&amp;nbsp;&amp;nbsp;&amp;nbsp; The act of committing your change will version the node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More details please.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 17:32:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overwriting-content-vs-version-service/m-p/239299#M192429</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-10-22T17:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Overwriting content vs version service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overwriting-content-vs-version-service/m-p/239300#M192430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm just using the example at this link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/NodeRef_cookbook" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/NodeRef_cookbook&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;under the heading "Writing a file's data to a node's content" which specifies:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContentWriter writer = contentService.getWriter(nodeRef, ContentModel.PROP_CONTENT, true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; writer.setLocale(CONTENT_LOCALE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File file = new File("c:/temp/images/BigCheese1.bmp");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; writer.setMimetype("image/bmp");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; writer.putContent(file);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;My understanding is that it just replaces the content without changing versions, and this is what I'm seeing, since the version number isn't changing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 18:42:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overwriting-content-vs-version-service/m-p/239300#M192430</guid>
      <dc:creator>ruighr</dc:creator>
      <dc:date>2010-10-22T18:42:17Z</dc:date>
    </item>
  </channel>
</rss>

