<?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: How to upload properties without losing it after new version upload? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4121#M1741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;BR /&gt;when we test behaviour by using your steps by CMIS in step 15 we obtain this result:&lt;/P&gt;&lt;P&gt;1.2: cm:title = t3&lt;/P&gt;&lt;P&gt;1.1: cm:title = null&lt;/P&gt;&lt;P&gt;1.0: cm:title = null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although in Alfresco Share&amp;nbsp;provide this metadata&lt;/P&gt;&lt;P&gt;&lt;IMG alt="metadata in alfresco share" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/12198_image001.png" style="width: 620px; height: 518px;" /&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zdenek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2017 11:33:26 GMT</pubDate>
    <dc:creator>zigi</dc:creator>
    <dc:date>2017-01-26T11:33:26Z</dc:date>
    <item>
      <title>How to upload properties without losing it after new version upload?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4118#M1738</link>
      <description>Hello,I'm working on application which connects to Alfresco 5.1 over CMIS (using Apache Chemistry). This app provides:- creation of a new document (own type) with specified metadata - method "createDocument" of&amp;nbsp;Apache Chemistry is used- edit metadata (without creation of new version) -&amp;nbsp;method "updat</description>
      <pubDate>Tue, 24 Jan 2017 13:15:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4118#M1738</guid>
      <dc:creator>zigi</dc:creator>
      <dc:date>2017-01-24T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload properties without losing it after new version upload?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4119#M1739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please confirm the exact build/version of Alfresco 5.1 ? Is it a Community or Enterprise release ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, can you refine your steps with some example data (or ideally provide&amp;nbsp;a standalone CMIS test script as well) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To paraphrase your steps ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. upload new text document with "abc"&amp;nbsp;(=&amp;gt; version 1.0)&lt;/P&gt;&lt;P&gt;2. check content is "abc" and "cm:title" is not set&lt;/P&gt;&lt;P&gt;3. upload new version of document with "def" using checkout / checkin (1.1)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. check content&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt; is "def" and "cm:title" is&amp;nbsp;not set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5. update "cm:title" to "t0" (version stays at 1.1)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6. check content&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt; is "def" and "cm:title" is "t0"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;7. update "cm:title" to "t1" (version stays at 1.1)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;8. check content&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt; is "def" and "cm:title" is "t1"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;9. upload new version of document with "ghi" using checkout / checkin (1.2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;10. check content&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt; is "ghi" and "cm:title" is "t1"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;11. update "cm:title" to "t2" (version stays at 1.2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;12. check content&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt; is "ghi" and "cm:title" is "t2"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;13. update "cm:title" to "t3" (version stays at 1.2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;14. check content&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt; is "ghi" and "cm:title" is "t3"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;15. etc ... if you check&amp;nbsp;version history at this point, you have three versions 1.0 (abc, null), 1.1 (def, t1), 1.2 (ghi, t3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... is that right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 15:02:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4119#M1739</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2017-01-24T15:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload properties without losing it after new version upload?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4120#M1740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly thanks for your fast response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m&amp;nbsp;working with &lt;STRONG&gt;Alfresco Community v5.1.0&lt;/STRONG&gt; (r127059-b7) schema 10001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To your example:&lt;/P&gt;&lt;P&gt;Based on our experiences with Alfresco (with own defined data type) I got following result for your step 15:&lt;/P&gt;&lt;P&gt;1.0&amp;nbsp;&amp;nbsp; (abc, null), &lt;STRONG&gt;1.1 (def, null)&lt;/STRONG&gt;, 1.2 (ghi, t3) – &lt;STRONG&gt;however I haven&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;’t tested&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me describe the steps for our situation. We have created own type "web:webDocument" which contains for example a property like "web:WebDocumentYearFor".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. upload new text document (content "abc") with property "web:WebDocumentYearFor" "2010" (=&amp;gt; version 1.0)&lt;BR /&gt; 2. check content is "abc" and "web:WebDocumentYearFor" is "2010"&lt;BR /&gt; 3. update "web:WebDocumentYearFor" with "2011" - (version stays at 1.0)&lt;BR /&gt; 4. check content is "abc" and "web:WebDocumentYearFor" is "2011"&lt;BR /&gt; 5. upload new version of document "def" and "web:WebDocumentYearFor" "2012" with using checkout / checkin (created new version 1.1) &lt;BR /&gt; 6. check actual content is "def" and "web:WebDocumentYearFor" is "2012" (version 1.1) &lt;STRONG&gt;- still expected behaviour&lt;/STRONG&gt;&lt;BR /&gt; 7. &lt;STRONG&gt;check older version&lt;/STRONG&gt; content is "abc" and "web:WebDocumentYearFor" is &lt;STRONG&gt;"2010"&lt;/STRONG&gt; (version 1.0)&lt;STRONG&gt; - why?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea of this behaviour? Is it possible to change it? I will be grateful for any solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zdenek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 13:51:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4120#M1740</guid>
      <dc:creator>zigi</dc:creator>
      <dc:date>2017-01-25T13:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload properties without losing it after new version upload?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4121#M1741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;BR /&gt;when we test behaviour by using your steps by CMIS in step 15 we obtain this result:&lt;/P&gt;&lt;P&gt;1.2: cm:title = t3&lt;/P&gt;&lt;P&gt;1.1: cm:title = null&lt;/P&gt;&lt;P&gt;1.0: cm:title = null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although in Alfresco Share&amp;nbsp;provide this metadata&lt;/P&gt;&lt;P&gt;&lt;IMG alt="metadata in alfresco share" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/12198_image001.png" style="width: 620px; height: 518px;" /&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zdenek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 11:33:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4121#M1741</guid>
      <dc:creator>zigi</dc:creator>
      <dc:date>2017-01-26T11:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload properties without losing it after new version upload?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4122#M1742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also have the same problem with the properties. Did you solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 16:53:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4122#M1742</guid>
      <dc:creator>vats</dc:creator>
      <dc:date>2017-03-08T16:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload properties without losing it after new version upload?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4123#M1743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please try the exact same steps with latest Community 201702 GA (includes Content Services 5.2.f) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 17:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4123#M1743</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2017-03-08T17:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload properties without losing it after new version upload?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4124#M1744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have Alfresco Community version 201702. I made very similar tests as described above. I got the same results as &lt;B&gt;Zdeněk Gold&lt;/B&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 13:46:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4124#M1744</guid>
      <dc:creator>del007</dc:creator>
      <dc:date>2017-03-09T13:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload properties without losing it after new version upload?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4125#M1745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My version is Enterprise&amp;nbsp;-&amp;nbsp;5.1.2, and after the tests I also got Zdenek's results&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 14:09:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4125#M1745</guid>
      <dc:creator>vats</dc:creator>
      <dc:date>2017-03-09T14:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload properties without losing it after new version upload?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4126#M1746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same problem. I am using 5.1.x community edition, and integrating through CMIS1.1.&lt;/P&gt;&lt;P&gt;By default, as far as I know, Alfresco does not turn on the versioning of property updates. With respect to versioning, there are flags (versionable, &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #58595b; font-family: monospace,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 21px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;autoVersionOnUpdateProps&lt;/SPAN&gt;, etc.) that one can set Alfresco system level, or at a custom model level, etc. Or even something like a rule can be set on a folder (using Share) to turn these on.&lt;/P&gt;&lt;P&gt;Anyways, if we manage to turn this flag [&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #58595b; font-family: monospace,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 21px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;cm:autoVersionOnUpdateProps&lt;/SPAN&gt;] on, then each minor updates to any (meta) properties would trigger a new (minor/major) version.&lt;/P&gt;&lt;P&gt;Now if this is what you desire, you could pursue this route.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not desire the behavior of auto versioning on each and every meta property updates.&lt;/P&gt;&lt;P&gt;This is what I ended up doing.&lt;/P&gt;&lt;P&gt;So, before every time, a user creates a new version (except for the first time), I compare the create date and modified date of the document, and if it has been modified, I create a version manually through code only to persist the latest (meta) properties update. Then I will create the new version the user initiated. I have a post related to this couple days ago.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 18:09:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-upload-properties-without-losing-it-after-new-version/m-p/4126#M1746</guid>
      <dc:creator>sepgs2004</dc:creator>
      <dc:date>2018-07-26T18:09:39Z</dc:date>
    </item>
  </channel>
</rss>

