<?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 can i get document list excluding pwc version? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76995#M24259</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I got same issue, how did you remove pwc in the cmis query ?&lt;/P&gt;&lt;P&gt;I am using Alfresco 5 and Apache chemistry java api.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jun 2020 09:04:42 GMT</pubDate>
    <dc:creator>devor</dc:creator>
    <dc:date>2020-06-05T09:04:42Z</dc:date>
    <item>
      <title>How can i get document list excluding pwc version?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76993#M24257</link>
      <description>I am using the alfresco repository with cmis and Alfresco Content Services REST API in my web application.&amp;nbsp;Executing a select&amp;nbsp;query statement&amp;nbsp;will get two documents, including the pwc version.&amp;nbsp;I want to get a list of documents except the pwc version.I do not want to remove the pwc document from the</description>
      <pubDate>Mon, 04 Mar 2019 09:37:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76993#M24257</guid>
      <dc:creator>hs_j</dc:creator>
      <dc:date>2019-03-04T09:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get document list excluding pwc version?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76994#M24258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;The problem was solved by removing pwc from the query result statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;There was no need to worry about this problem in the paging process.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2019 00:06:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76994#M24258</guid>
      <dc:creator>hs_j</dc:creator>
      <dc:date>2019-03-06T00:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get document list excluding pwc version?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76995#M24259</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I got same issue, how did you remove pwc in the cmis query ?&lt;/P&gt;&lt;P&gt;I am using Alfresco 5 and Apache chemistry java api.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 09:04:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76995#M24259</guid>
      <dc:creator>devor</dc:creator>
      <dc:date>2020-06-05T09:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get document list excluding pwc version?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76996#M24260</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81966"&gt;@devor&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Have you looked at this &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-hub/cmis-web-scripts-reference/ba-p/291443" target="_self" rel="nofollow noopener noreferrer"&gt;documentation&lt;/A&gt;? It's deprecated but explains that pwc is to get the "private working copy".&lt;/P&gt;
&lt;P&gt;Gets the specified information for the private working copy (for checking out &amp;amp; working with versions I believe).&lt;/P&gt;
&lt;P&gt;GET&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/cmis/pwc/i/%7Bid%7D?filter={filter?}&amp;amp;includeAllowableActions={includeAllowableActions?}&amp;amp;includeRelationships={includeRelationships?}&amp;amp;includeACL={includeACL?}&amp;amp;renditionFilter={renditionFilter?}" target="_blank" rel="nofollow noopener noreferrer"&gt;/alfresco/service/cmis/pwc/i/{id}?filter={filter?}&amp;amp;includeAllowableActions={includeAllowableActions?...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Gets the specified information for the object (Folder or Document).&lt;/P&gt;
&lt;P&gt;GET&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/cmis/i/%7Bid%7D?filter={filter?}&amp;amp;returnVersion={returnVersion?}&amp;amp;includeAllowableActions={includeAllowableActions?}&amp;amp;includeRelationships={includeRelationships?}&amp;amp;includeACL={includeACL?}&amp;amp;renditionFilter={renditionFilter?}" target="_blank" rel="nofollow noopener noreferrer"&gt;/alfresco/service/cmis/i/{id}?filter={filter?}&amp;amp;returnVersion={returnVersion?}&amp;amp;includeAllowableAction...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So, is it just a case of removing pwc from the query call?&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 09:36:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76996#M24260</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-06-05T09:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can i get document list excluding pwc version?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76997#M24261</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;yes I looked this documentation.&lt;/P&gt;&lt;P&gt;I buid a document explorer, using paging feature of api.&lt;/P&gt;&lt;P&gt;// exemple&amp;nbsp;&lt;/P&gt;&lt;P&gt;final String query = this.createQuery(props, gedProperties, sortingCriteria, orderBy); // createQuery method exemple return -&amp;gt; SELECT * FROM mw:doc WHERE mw:entiteId='103861' ORDER BY cmis:name ASC&lt;/P&gt;&lt;P&gt;ItemIterable&amp;lt;QueryResult&amp;gt; result = session.query(query, false); // with false I return only last version of documents&lt;/P&gt;&lt;P&gt;final long totalItems = result.getTotalNumItems();&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;final ItemIterable&amp;lt;QueryResult&amp;gt; pageQueryResult = result.skipTo(0).getPage(5);&amp;nbsp;&lt;/P&gt;&lt;P&gt;--------------------------&amp;nbsp;&lt;/P&gt;&lt;P&gt;-without checkout any document&lt;/P&gt;&lt;P&gt;My result query, return 5 items , and my&amp;nbsp;pageQueryResult return 5 , this case is ok.&lt;/P&gt;&lt;P&gt;- after checkout one of this 5 documents&lt;/P&gt;&lt;P&gt;totalItems return now 6 items ( 5 items + 1 pwc)&lt;/P&gt;&lt;P&gt;and my&amp;nbsp;pageQueryResult return only 4 and the fifth is now in second page.&lt;/P&gt;&lt;P&gt;so I want to exclude pwc from the result.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 10:21:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-document-list-excluding-pwc-version/m-p/76997#M24261</guid>
      <dc:creator>devor</dc:creator>
      <dc:date>2020-06-05T10:21:24Z</dc:date>
    </item>
  </channel>
</rss>

