<?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: CMIS WORKBENCH QUERY LIMIT in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55070#M20186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple answer is: NO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatives:&amp;nbsp;&lt;A href="https://angelborroy.wordpress.com/2018/05/30/alfresco-counting-more-than-1000-elements/" rel="nofollow noopener noreferrer"&gt;https://angelborroy.wordpress.com/2018/05/30/alfresco-counting-more-than-1000-elements/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2018 11:00:58 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2018-07-09T11:00:58Z</dc:date>
    <item>
      <title>CMIS WORKBENCH QUERY LIMIT</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55068#M20184</link>
      <description>Hi All,Is there a possible way to get all data using the CMIS Workbench QUERY?based on my testing I've just get only 100 data instead of 100,000+ data in our production.How?Thanks,Cyrus Nhiel</description>
      <pubDate>Fri, 06 Jul 2018 06:10:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55068#M20184</guid>
      <dc:creator>cyrose22</dc:creator>
      <dc:date>2018-07-06T06:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS WORKBENCH QUERY LIMIT</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55069#M20185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 00:40:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55069#M20185</guid>
      <dc:creator>cyrose22</dc:creator>
      <dc:date>2018-07-09T00:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS WORKBENCH QUERY LIMIT</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55070#M20186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple answer is: NO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatives:&amp;nbsp;&lt;A href="https://angelborroy.wordpress.com/2018/05/30/alfresco-counting-more-than-1000-elements/" rel="nofollow noopener noreferrer"&gt;https://angelborroy.wordpress.com/2018/05/30/alfresco-counting-more-than-1000-elements/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 11:00:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55070#M20186</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-07-09T11:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS WORKBENCH QUERY LIMIT</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55071#M20187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Angel Borroy&lt;/B&gt;‌ Hi borry I've already found a solution for this and I've gather more than 100,000 data from my query. Thanks for the response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 00:50:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55071#M20187</guid>
      <dc:creator>cyrose22</dc:creator>
      <dc:date>2018-07-10T00:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS WORKBENCH QUERY LIMIT</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55072#M20188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And can you share your findings with us?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 06:37:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55072#M20188</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-07-10T06:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS WORKBENCH QUERY LIMIT</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55073#M20189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Angel Borroy&lt;/B&gt;‌ Sure, First before entering the WORKBENCH , in the &lt;STRONG&gt;&lt;EM&gt;u&lt;/EM&gt;&lt;EM&gt;&lt;SPAN&gt;rl&amp;nbsp;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom?maxItems=100000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom?maxItems=100000&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;add the maxItems you want , then in the&amp;nbsp; groovy script&lt;/P&gt;&lt;P&gt;just add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;String cql = "SELECT * FROM cmis:document"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;OperationContext opCon = session.createOperationContext();&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;opCon.setLoadSecondaryTypeProperties(true);&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;opCon.setMaxItemsPerPage(100000);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ItemIterable&amp;lt;QueryResult&amp;gt; results = session.query(cql, false, opCon)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then u can get the data you want&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 07:04:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55073#M20189</guid>
      <dc:creator>cyrose22</dc:creator>
      <dc:date>2018-07-10T07:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS WORKBENCH QUERY LIMIT</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55074#M20190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No more configurations?&lt;/P&gt;&lt;P&gt;This does not work for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 07:17:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55074#M20190</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-07-10T07:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS WORKBENCH QUERY LIMIT</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55075#M20191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Angel Borroy&lt;/B&gt;‌ in our case there's no configuration and we're using modified db table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 00:13:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55075#M20191</guid>
      <dc:creator>cyrose22</dc:creator>
      <dc:date>2018-07-11T00:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS WORKBENCH QUERY LIMIT</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55076#M20192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Angel Borroy&lt;/B&gt;‌ in our case here's my full code, I've extracted it and download it to csv file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;import org.apache.chemistry.opencmis.commons.*&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;import org.apache.chemistry.opencmis.commons.data.*&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;import org.apache.chemistry.opencmis.commons.enums.*&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;import org.apache.chemistry.opencmis.client.api.*&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;import org.apache.chemistry.opencmis.client.util.*&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;String cql = "SELECT ap:apXxX FROM ap:apXXX where ap:apxxx &amp;lt;&amp;gt; 'POSTED'"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; OperationContext opCon = session.createOperationContext();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; opCon.setLoadSecondaryTypeProperties(true);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; opCon.setMaxItemsPerPage(100000);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ItemIterable&amp;lt;QueryResult&amp;gt; results = session.query(cql, false, opCon)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;File file = new File("C:/xxx/xxx/xxx/xxx/PONum.csv");&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(QueryResult hit: results) { &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(PropertyData&amp;lt;?&amp;gt; property: hit.getProperties()) {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String queryName = property.getQueryName();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Object value = property.getFirstValue(); &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;file.append(value+"\n"); &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; }&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 01:29:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-workbench-query-limit/m-p/55076#M20192</guid>
      <dc:creator>cyrose22</dc:creator>
      <dc:date>2018-07-11T01:29:19Z</dc:date>
    </item>
  </channel>
</rss>

