<?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: getChildByName method in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/getchildbyname-method/m-p/41636#M17457</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80637"&gt;@anakin98000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NodesAPI doesn't support this - instead you'll need to use the searchAPI - see &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/using-the-rest-api-to-find-elements-inside-a-folder-or-a-folder/ba-p/299352" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
    <pubDate>Fri, 27 Nov 2020 16:23:33 GMT</pubDate>
    <dc:creator>EddieMay</dc:creator>
    <dc:date>2020-11-27T16:23:33Z</dc:date>
    <item>
      <title>getChildByName method</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getchildbyname-method/m-p/41635#M17456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to check if a node contains a child with specific name.&lt;/P&gt;&lt;P&gt;I try with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;alfrescoApiService&lt;/SPAN&gt;.&lt;SPAN&gt;nodesApi&lt;/SPAN&gt;.&lt;SPAN&gt;getNodeChildren&lt;/SPAN&gt;(node)&lt;/PRE&gt;&lt;P&gt;but I don't know how to add the name&amp;nbsp; of the child&lt;/P&gt;&lt;P&gt;and I try&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;that&lt;/SPAN&gt;.&lt;SPAN&gt;alfrescoApiService&lt;/SPAN&gt;.&lt;SPAN&gt;searchApi&lt;/SPAN&gt;.&lt;SPAN&gt;search&lt;/SPAN&gt;(&lt;SPAN&gt;filterRequest&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;but I don't know how to add the node Id of the parent in filterRequest&lt;/P&gt;&lt;P&gt;Is it possible&amp;nbsp;to reproduce java method&amp;nbsp;getChildByName with ADF ?&lt;/P&gt;&lt;P&gt;Thank's&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 15:17:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getchildbyname-method/m-p/41635#M17456</guid>
      <dc:creator>anakin98000</dc:creator>
      <dc:date>2020-10-21T15:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: getChildByName method</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getchildbyname-method/m-p/41636#M17457</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80637"&gt;@anakin98000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NodesAPI doesn't support this - instead you'll need to use the searchAPI - see &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/using-the-rest-api-to-find-elements-inside-a-folder-or-a-folder/ba-p/299352" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 16:23:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getchildbyname-method/m-p/41636#M17457</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-11-27T16:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: getChildByName method</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getchildbyname-method/m-p/41637#M17458</link>
      <description>&lt;P&gt;You can use SearchService in ADF.&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;PRE&gt;              const defaultQueryBody: QueryBody = {
                  query: {
                    "query":"PATH:\"app:company_home/st:sites/cm:demo/cm:documentLibrary/cm:Test/cm:folder1//*\" AND cm:name:\"Letter.pdf*\""
                  }
              };
               this.searchService.searchByQueryBody(defaultQueryBody).subscribe(res=&amp;gt;{
                console.log(res);
               });&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Dec 2020 12:40:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getchildbyname-method/m-p/41637#M17458</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-12-01T12:40:52Z</dc:date>
    </item>
  </channel>
</rss>

