<?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: Rest API, How to getChildren and orderBy a properties in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124833#M34106</link>
    <description>&lt;P&gt;Did you try the "orderBy" parameter?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#/nodes/listNodeChildren" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api-explorer.alfresco.com/api-explorer/#/nodes/listNodeChildren&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Oct 2021 08:51:56 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2021-10-22T08:51:56Z</dc:date>
    <item>
      <title>Rest API, How to getChildren and orderBy a properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124832#M34105</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need if possibile to order a list of nodes returned from getChildren api call by one of a properties.&lt;/P&gt;&lt;P&gt;In the rest api doc it is not mentioned.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 08:50:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124832#M34105</guid>
      <dc:creator>danny36</dc:creator>
      <dc:date>2021-10-22T08:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API, How to getChildren and orderBy a properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124833#M34106</link>
      <description>&lt;P&gt;Did you try the "orderBy" parameter?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#/nodes/listNodeChildren" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api-explorer.alfresco.com/api-explorer/#/nodes/listNodeChildren&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 08:51:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124833#M34106</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-10-22T08:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API, How to getChildren and orderBy a properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124834#M34107</link>
      <description>&lt;P&gt;in the doc the available orderBy fields are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;isFolder&lt;/LI&gt;&lt;LI&gt;name&lt;/LI&gt;&lt;LI&gt;mimeType&lt;/LI&gt;&lt;LI&gt;nodeType&lt;/LI&gt;&lt;LI&gt;sizeInBytes&lt;/LI&gt;&lt;LI&gt;modifiedAt&lt;/LI&gt;&lt;LI&gt;createdAt&lt;/LI&gt;&lt;LI&gt;modifiedByUser&lt;/LI&gt;&lt;LI&gt;createdByUser&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;but I need to order by a property inside "properties"&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotazione 2021-10-22 105812.png" style="width: 953px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1167i95EDB34BCC4BE75D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 09:00:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124834#M34107</guid>
      <dc:creator>danny36</dc:creator>
      <dc:date>2021-10-22T09:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API, How to getChildren and orderBy a properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124835#M34108</link>
      <description>&lt;P&gt;This is working for me:&lt;/P&gt;
&lt;PRE class="microlight" style="box-sizing: border-box; font-family: monospace; font-size: 12px; margin: 0px; padding: 10px; white-space: pre-wrap; word-wrap: break-word; word-break: break-word; -webkit-hyphens: auto; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: #333333; overflow-wrap: break-word; font-weight: 600; color: #ffffff; font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;http://127.0.0.1:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/8bb36efb-c26d-4d2b-9199-ab6922f53c28/children?skipCount=0&amp;amp;maxItems=100&amp;amp;orderBy=cm%3Atitle&lt;/PRE&gt;

&lt;P&gt;I guess you can use the same approach with your custom property name wbase%3AcognomeRubrica &lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 10:01:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124835#M34108</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-10-22T10:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API, How to getChildren and orderBy a properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124836#M34109</link>
      <description>&lt;P&gt;yes it works!&lt;/P&gt;&lt;P&gt;I think it is a serious shortcoming that such an important thing is not indicated in the documentation.&lt;/P&gt;&lt;P&gt;Anyway thanks!!!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 10:36:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124836#M34109</guid>
      <dc:creator>danny36</dc:creator>
      <dc:date>2021-10-22T10:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API, How to getChildren and orderBy a properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124837#M34110</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;and if I want to retrive a set of items based on a property inside properties? I tray filter:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where=(wbase%3AtipologiaRubrica=1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but don't works.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 16:04:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124837#M34110</guid>
      <dc:creator>danny36</dc:creator>
      <dc:date>2021-10-26T16:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API, How to getChildren and orderBy a properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124838#M34111</link>
      <description>&lt;P&gt;Where filter is not designed to accept that kind of expressions. Mainly Where syntax is described in&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/remote-api/src/main/java/org/alfresco/rest/api/Nodes.java#L399" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/remote-api/src/main/java/org/alfresco/rest/api/Nodes.java#L399&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You need to use Search REST API in order to apply filters based in custom properties.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 07:25:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124838#M34111</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-10-27T07:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API, How to getChildren and orderBy a properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124839#M34112</link>
      <description>&lt;P&gt;For instance, this REST API call will retrieve all the children from a parent folder (ANCESTOR) having the property cm:title with "Title" value:&lt;/P&gt;
&lt;PRE&gt;curl --location --request POST 'http://localhost:8080/alfresco/api/-default-/public/search/versions/1/search' \
--header 'Authorization: Basic YWRtaW46YWRtaW4=' \
--header 'Content-Type: application/json' \
--data-raw '{
  "query": {
    "query": 
    "ANCESTOR:'\''workspace://SpacesStore/0f90a538-10d3-4f3f-9a9c-431e674a4f89'\'' AND cm:title:'\''Title'\''"
  }
}'&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Oct 2021 07:30:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124839#M34112</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-10-27T07:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API, How to getChildren and orderBy a properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124840#M34113</link>
      <description>&lt;P&gt;unfortunately it does not seem to be possible to search a term inside properties property.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 08:49:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124840#M34113</guid>
      <dc:creator>danny36</dc:creator>
      <dc:date>2021-10-27T08:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rest API, How to getChildren and orderBy a properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124841#M34114</link>
      <description>&lt;P&gt;It's possible, but using the Search REST API with ANCESTOR.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 09:49:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-how-to-getchildren-and-orderby-a-properties/m-p/124841#M34114</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-10-27T09:49:20Z</dc:date>
    </item>
  </channel>
</rss>

