<?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 DocumentListComponent [Where] syntax? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/documentlistcomponent-where-syntax/m-p/28287#M12109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the document list component&amp;nbsp;&lt;A href="https://www.alfresco.com/abn/adf/docs/content-services/components/document-list.component/" rel="nofollow noopener noreferrer"&gt;https://www.alfresco.com/abn/adf/docs/content-services/components/document-list.component/&lt;/A&gt;, have a [where] property which is able to filter the data in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try the example:&lt;BR /&gt;&lt;STRONG&gt;[where]="'(isFolder=true)'"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works perfectly.&lt;/P&gt;&lt;P&gt;My question is regarding the syntax, how do I filter the data by&amp;nbsp;a property on the nodes.&lt;BR /&gt;I want to do something like:&lt;BR /&gt;&lt;STRONG&gt;[where]="'(properties['myprop']='some value')'"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the docs for the documentlistcomponent pointing to the node docs:&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-js-api/blob/development/src/api/content-rest-api/docs/Node.md" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-js-api/blob/development/src/api/content-rest-api/docs/Node.md&lt;/A&gt;&amp;nbsp;it should be possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also looked into the API explorer&amp;nbsp;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#!/nodes/listNodeChildren" rel="nofollow noopener noreferrer"&gt;https://api-explorer.alfresco.com/api-explorer/#!/nodes/listNodeChildren&lt;/A&gt;&amp;nbsp;but can't figure out the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2019 10:27:44 GMT</pubDate>
    <dc:creator>ff89</dc:creator>
    <dc:date>2019-05-29T10:27:44Z</dc:date>
    <item>
      <title>DocumentListComponent [Where] syntax?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/documentlistcomponent-where-syntax/m-p/28287#M12109</link>
      <description>So the document list component&amp;nbsp;https://www.alfresco.com/abn/adf/docs/content-services/components/document-list.component/, have a [where] property which is able to filter the data in the list.When I try the example:[where]="'(isFolder=true)'"it works perfectly.My question is regarding the syntax, ho</description>
      <pubDate>Wed, 29 May 2019 10:27:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/documentlistcomponent-where-syntax/m-p/28287#M12109</guid>
      <dc:creator>ff89</dc:creator>
      <dc:date>2019-05-29T10:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: DocumentListComponent [Where] syntax?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/documentlistcomponent-where-syntax/m-p/28288#M12110</link>
      <description>&lt;P&gt;I’m fairly certain that the getChildren REST API does not support properties in the where parameter, but I could be wrong. I am checking on this for you.&lt;/P&gt;
&lt;P&gt;I am not quite sure what you are trying to acheive, but I suggest you look into leveraging the Search REST API would give the level of control you looking for. If you need to start filtering by complex queries - the Search API is the way to go.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 16:10:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/documentlistcomponent-where-syntax/m-p/28288#M12110</guid>
      <dc:creator>jljwoznica</dc:creator>
      <dc:date>2019-10-14T16:10:09Z</dc:date>
    </item>
  </channel>
</rss>

