<?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 Availablity of NodeService in Share (or best way to query for a child node) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309580#M262710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to understand the best way, from a Share webscript, to obtain a specific child node when the parent node and child name is known.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to use the NodeService, as in &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/NodeRef_cookbook" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/NodeRef_cookbook&lt;/A&gt;&lt;SPAN&gt; , but I am having trouble getting the NodeService injected into my webscript.&amp;nbsp; Is there a way to use NodeService from share?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other way I have tried is using the SearchService with a lucene query.&amp;nbsp; This is sub-opimal because the lucene query returns a fuzzy match.&amp;nbsp; Therefore to get an exact match I have to cycle through the results pulling out the name and doing a string compare with the target name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this the best way to go about this task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Alfresco 4.2.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2013 17:27:14 GMT</pubDate>
    <dc:creator>rhinmass</dc:creator>
    <dc:date>2013-11-28T17:27:14Z</dc:date>
    <item>
      <title>Availablity of NodeService in Share (or best way to query for a child node)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309580#M262710</link>
      <description>I am trying to understand the best way, from a Share webscript, to obtain a specific child node when the parent node and child name is known.I have tried to use the NodeService, as in http://wiki.alfresco.com/wiki/NodeRef_cookbook , but I am having trouble getting the NodeService injected into my we</description>
      <pubDate>Thu, 28 Nov 2013 17:27:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309580#M262710</guid>
      <dc:creator>rhinmass</dc:creator>
      <dc:date>2013-11-28T17:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Availablity of NodeService in Share (or best way to query for a child node)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309581#M262711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No the node service is not available in share.&amp;nbsp;&amp;nbsp; There are however lots of webscripts to navigate by path.&amp;nbsp;&amp;nbsp; Or list children etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You shouldn't use search.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 19:33:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309581#M262711</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-11-28T19:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Availablity of NodeService in Share (or best way to query for a child node)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309582#M262712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the tip!&amp;nbsp; I figured there must be a better way, but haven't been able to figure it out. Can you tell me the name of the webscript or provide an example.&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 01:47:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309582#M262712</guid>
      <dc:creator>rhinmass</dc:creator>
      <dc:date>2013-11-29T01:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Availablity of NodeService in Share (or best way to query for a child node)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309583#M262713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As such there is no direct webscript for getting child by name from the folder. You need to create your own repository webscript to achieve it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Nov 2013 05:43:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309583#M262713</guid>
      <dc:creator>yogeshpj</dc:creator>
      <dc:date>2013-11-30T05:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Availablity of NodeService in Share (or best way to query for a child node)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309584#M262714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes that is exactly what I'm working on.&amp;nbsp; But I am having trouble figuring out how to retrieve to a child node within a folder when the parent folder and name are known, without using NodeService or SearchService.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Nov 2013 17:26:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309584#M262714</guid>
      <dc:creator>rhinmass</dc:creator>
      <dc:date>2013-11-30T17:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Availablity of NodeService in Share (or best way to query for a child node)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309585#M262715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is not possible without using NodeService. Can you tell me why you dont want to use NodeService ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 15:28:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309585#M262715</guid>
      <dc:creator>yogeshpj</dc:creator>
      <dc:date>2013-12-02T15:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Availablity of NodeService in Share (or best way to query for a child node)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309586#M262716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use /cmis/query to issue&amp;nbsp; a CMIS query statement to find a folder node by name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then use following api to&amp;nbsp; get children contained in the specified folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;!– by object id –&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/cmis/i/{id}/children?types={types?}&amp;amp;amp;filter={filter?}&amp;amp;amp;skipCount={skipCount?}&amp;amp;amp;maxItems={maxItems?}&amp;amp;amp;includeAllowableActions={includeAllowableActions?}&amp;amp;amp;includeRelationships={includeRelationships?}&amp;amp;amp;renditionFilter={renditionFilter?}&amp;amp;amp;orderBy={orderBy?}&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/cmis/s/{store}/i/{id}/children?types={types?}&amp;amp;amp;filter={filter?}&amp;amp;amp;skipCount={skipCount?}&amp;amp;amp;maxItems={maxItems?}&amp;amp;amp;includeAllowableActions={includeAllowableActions?}&amp;amp;amp;includeRelationships={includeRelationships?}&amp;amp;amp;renditionFilter={renditionFilter?}&amp;amp;amp;orderBy={orderBy?}&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;!– by path –&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/cmis/p{path}/children?types={types?}&amp;amp;amp;filter={filter?}&amp;amp;amp;skipCount={skipCount?}&amp;amp;amp;maxItems={maxItems?}&amp;amp;amp;includeAllowableActions={includeAllowableActions?}&amp;amp;amp;includeRelationships={includeRelationships?}&amp;amp;amp;renditionFilter={renditionFilter?}&amp;amp;amp;orderBy={orderBy?}&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/cmis/s/{store}/p{path}/children?types={types?}&amp;amp;amp;filter={filter?}&amp;amp;amp;skipCount={skipCount?}&amp;amp;amp;maxItems={maxItems?}&amp;amp;amp;includeAllowableActions={includeAllowableActions?}&amp;amp;amp;includeRelationships={includeRelationships?}&amp;amp;amp;renditionFilter={renditionFilter?}&amp;amp;amp;orderBy={orderBy?}&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;!– alfresco style –&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/api/node/{store_type}/{store_id}/{id}/children?types={types?}&amp;amp;amp;filter={filter?}&amp;amp;amp;skipCount={skipCount?}&amp;amp;amp;maxItems={maxItems?}&amp;amp;amp;includeAllowableActions={includeAllowableActions?}&amp;amp;amp;includeRelationships={includeRelationships?}&amp;amp;amp;renditionFilter={renditionFilter?}&amp;amp;amp;orderBy={orderBy?}&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/api/path/{store_type}/{store_id}/{nodepath}/children?types={types?}&amp;amp;amp;filter={filter?}&amp;amp;amp;skipCount={skipCount?}&amp;amp;amp;maxItems={maxItems?}&amp;amp;amp;includeAllowableActions={includeAllowableActions?}&amp;amp;amp;includeRelationships={includeRelationships?}&amp;amp;amp;renditionFilter={renditionFilter?}&amp;amp;amp;orderBy={orderBy?}&amp;lt;/url&amp;gt;&lt;BR /&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 16:32:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/availablity-of-nodeservice-in-share-or-best-way-to-query-for-a/m-p/309586#M262716</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2013-12-02T16:32:01Z</dc:date>
    </item>
  </channel>
</rss>

