<?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 add versionable aspect to a existing document using cmis in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-versionable-aspect-to-a-existing-document-using-cmis/m-p/33271#M14066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not a question of what I would recommend - it's a question of what you are capable of doing / familiar with. There would be no point in recommending you to use the Java-based batch processing and patching functionalities of Alfresco if you&amp;nbsp;have not yet developed anything within Alfresco using Java API yet, as you would be easily overwhelmed. Also "large amount of documents" can be very variable. For me, a "large amount" is&amp;nbsp;anything more than 100.000 or even a million documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, with that in mind:&lt;/P&gt;&lt;P&gt;a) Have you ever programmed an extension to Alfresco using its Java APIs?&lt;/P&gt;&lt;P&gt;b) Have you ever worked with the Script API of Alfresco or the JavaScript Console addon?&lt;/P&gt;&lt;P&gt;c) How many documents are we talking about in general?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2017 22:05:52 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-11-28T22:05:52Z</dc:date>
    <item>
      <title>how to add versionable aspect to a existing document using cmis</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-versionable-aspect-to-a-existing-document-using-cmis/m-p/33268#M14063</link>
      <description>Hi,&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;we did a bulkimport and the documents doesn't have versionable aspect set on them. Now for some of documents&amp;nbsp;i have to add versions using CMIS 1.1. I am doing checkout and checkin, the checkin call with contentstream, the document is not versioned. I tried adding cm:versionable object but g</description>
      <pubDate>Mon, 27 Nov 2017 21:53:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-versionable-aspect-to-a-existing-document-using-cmis/m-p/33268#M14063</guid>
      <dc:creator>suneetha</dc:creator>
      <dc:date>2017-11-27T21:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to add versionable aspect to a existing document using cmis</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-versionable-aspect-to-a-existing-document-using-cmis/m-p/33269#M14064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With only CMIS at hand it is not possible to just add the versionable aspect to documents in Alfresco. That aspect is part of the base domain type for documents in CMIS which is why Alfresco filters it out as an aspect via the CMIS APIs, so you cannot set it e.g. via secondaryObjectTypeIds.&lt;/P&gt;&lt;P&gt;The most reliable option would be to do some&amp;nbsp;patching / batch processing&amp;nbsp;with Alfresco means, i.e. using Repository-tier Java code or some scripts via the JavaScript Console. There you can add the aspect to all the documents that are missing it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 12:19:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-versionable-aspect-to-a-existing-document-using-cmis/m-p/33269#M14064</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-11-28T12:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to add versionable aspect to a existing document using cmis</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-versionable-aspect-to-a-existing-document-using-cmis/m-p/33270#M14065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the Response Axel, could you please advice what would the best and reliable option to do this on large amount of documents.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 16:22:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-versionable-aspect-to-a-existing-document-using-cmis/m-p/33270#M14065</guid>
      <dc:creator>suneetha</dc:creator>
      <dc:date>2017-11-28T16:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to add versionable aspect to a existing document using cmis</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-versionable-aspect-to-a-existing-document-using-cmis/m-p/33271#M14066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not a question of what I would recommend - it's a question of what you are capable of doing / familiar with. There would be no point in recommending you to use the Java-based batch processing and patching functionalities of Alfresco if you&amp;nbsp;have not yet developed anything within Alfresco using Java API yet, as you would be easily overwhelmed. Also "large amount of documents" can be very variable. For me, a "large amount" is&amp;nbsp;anything more than 100.000 or even a million documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, with that in mind:&lt;/P&gt;&lt;P&gt;a) Have you ever programmed an extension to Alfresco using its Java APIs?&lt;/P&gt;&lt;P&gt;b) Have you ever worked with the Script API of Alfresco or the JavaScript Console addon?&lt;/P&gt;&lt;P&gt;c) How many documents are we talking about in general?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 22:05:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-versionable-aspect-to-a-existing-document-using-cmis/m-p/33271#M14066</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-11-28T22:05:52Z</dc:date>
    </item>
  </channel>
</rss>

