<?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 getChildren orderBy in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getchildren-orderby/m-p/266177#M219307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a problem with the getChildren web service call with an "order by" parameter. I tested this with the public repository at &lt;/SPAN&gt;&lt;A href="http://cmis.alfresco.com/cmisws" rel="nofollow noopener noreferrer"&gt;cmis.alfresco.com/cmisws&lt;/A&gt;&lt;SPAN&gt;, for example with the following request:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;ns1:getChildren xsi:type="ns1:getChildren"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:repositoryId&amp;gt;371554cd-ac06-40ba-98b8-e6b60275cca7&amp;lt;/ns1:repositoryId&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:folderId&amp;gt;workspace://SpacesStore/e2b77437-c44b-4828-a3ac-c1d42d92eec2&amp;lt;/ns1:folderId&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:filter&amp;gt;*&amp;lt;/ns1:filter&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:orderBy&amp;gt;cmis:baseTypeId, cmis:name&amp;lt;/ns1:orderBy&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:includeAllowableActions&amp;gt;true&amp;lt;/ns1:includeAllowableActions&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:includeRelationships&amp;gt;none&amp;lt;/ns1:includeRelationships&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:renditionFilter xsi:nil="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:includePathSegment xsi:nil="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:maxItems&amp;gt;10&amp;lt;/ns1:maxItems&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:skipCount&amp;gt;0&amp;lt;/ns1:skipCount&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ns1:extension xsi:nil="true"/&amp;gt;&lt;BR /&gt;&amp;lt;/ns1:getChildren&amp;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;/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;This call returns a result set of 10 objects, as expected, but they are not ordered at all by the two parameters, cmis:baseTypeId, cmis:name. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found a similar issue at &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-12479" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-12479&lt;/A&gt;&lt;SPAN&gt; but this was related to the old 3.x release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I try to do here is to get a list of documents with no folders in between, and ordering by cmis:baseTypeId should show them first in one block.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karsten&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2012 09:26:12 GMT</pubDate>
    <dc:creator>karstene</dc:creator>
    <dc:date>2012-10-01T09:26:12Z</dc:date>
    <item>
      <title>getChildren orderBy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getchildren-orderby/m-p/266177#M219307</link>
      <description>I have a problem with the getChildren web service call with an "order by" parameter. I tested this with the public repository at cmis.alfresco.com/cmisws, for example with the following request:&amp;lt;ns1:getChildren xsi:type="ns1:getChildren"&amp;gt;&amp;nbsp; &amp;lt;ns1:repositoryId&amp;gt;371554cd-ac06-40ba-98b8-e6b602</description>
      <pubDate>Mon, 01 Oct 2012 09:26:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getchildren-orderby/m-p/266177#M219307</guid>
      <dc:creator>karstene</dc:creator>
      <dc:date>2012-10-01T09:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: getChildren orderBy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getchildren-orderby/m-p/266178#M219308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you confirm your version of Alfresco … is it Community 4.0.d ? Have you tried the latest nightly build (of Community 4.2 preview) ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, which version of the CMIS web service (WS) endpoint/binding are you using … 3.x or 4.x ? Do they both give the same result ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 10:40:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getchildren-orderby/m-p/266178#M219308</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2012-10-01T10:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: getChildren orderBy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getchildren-orderby/m-p/266179#M219309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested with your public server at &lt;/SPAN&gt;&lt;A href="http://cmis.alfresco.com/cmisws" rel="nofollow noopener noreferrer"&gt;cmis.alfresco.com/cmisws&lt;/A&gt;&lt;SPAN&gt;, whatever release this is. I am using the new cmisws endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same result shows with my internal installation of 4.0d CE, using the 4.x cmisws endpoint. I have not tried with a nightly build, nor with the 3.x endpoint, as this has different issues with my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karsten&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 11:24:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getchildren-orderby/m-p/266179#M219309</guid>
      <dc:creator>karstene</dc:creator>
      <dc:date>2012-10-01T11:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: getChildren orderBy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getchildren-orderby/m-p/266180#M219310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I think I can see the issue here. We do not currently support ordering by "cmis:baseTypeId". If I'm reading it correctly, the 1.0 spec does not specify whether this property should be orderable or not. Please feel free to log a JIRA improvement and we can see whether we can also co-relate with ALF-13968.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 18:46:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getchildren-orderby/m-p/266180#M219310</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2012-10-02T18:46:01Z</dc:date>
    </item>
  </channel>
</rss>

