<?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: list of nodes at a particular location? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184749#M137879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for the links!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I created a Web Script, but I'm not getting the results back that I expected.&amp;nbsp; I think it has to do with the query of a luceneSearch that I am making?&amp;nbsp; I think the format of the query is not right.&amp;nbsp; Can you tell me if the query is correct?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var query = "+ASPECT:\"amo:imageGallery\"";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; query += ' +PATH:"/app:company_home/Gallery/IMAGE/OtherGalleries/City/*"';&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;model.resultset = search.luceneSearch(query);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I have made an error in my use of PATH.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2008 08:34:18 GMT</pubDate>
    <dc:creator>charlie22</dc:creator>
    <dc:date>2008-10-31T08:34:18Z</dc:date>
    <item>
      <title>list of nodes at a particular location?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184747#M137877</link>
      <description>How would I create a Web Script that lists all the nodes at a particular location?</description>
      <pubDate>Thu, 30 Oct 2008 13:46:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184747#M137877</guid>
      <dc:creator>charlie22</dc:creator>
      <dc:date>2008-10-30T13:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: list of nodes at a particular location?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184748#M137878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well you could start by reading the following the pages on the wiki:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Template_Guide" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Template_Guide&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 14:04:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184748#M137878</guid>
      <dc:creator>sbuckle</dc:creator>
      <dc:date>2008-10-30T14:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: list of nodes at a particular location?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184749#M137879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for the links!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I created a Web Script, but I'm not getting the results back that I expected.&amp;nbsp; I think it has to do with the query of a luceneSearch that I am making?&amp;nbsp; I think the format of the query is not right.&amp;nbsp; Can you tell me if the query is correct?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var query = "+ASPECT:\"amo:imageGallery\"";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; query += ' +PATH:"/app:company_home/Gallery/IMAGE/OtherGalleries/City/*"';&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;model.resultset = search.luceneSearch(query);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I have made an error in my use of PATH.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 08:34:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184749#M137879</guid>
      <dc:creator>charlie22</dc:creator>
      <dc:date>2008-10-31T08:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: list of nodes at a particular location?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184750#M137880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't use the namespace prefix in the ASPECT clause - you have to use the (full) URL. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;More info here: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search#Finding_nodes_that_have_a_particular_aspect" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search#Finding_nodes_that_have_a_particular_aspect&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also (most) folder names, which are defined in the content model, have to be prefixed with "cm"; it's also worth noting that spaces have to encoded as "_x0020_".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var query = "+ASPECT:\"{&lt;A _jive_internal="true" href="https://community.alfresco.com/www.your-url.blah}:imageGallery\" rel="nofollow noopener noreferrer"&gt;http://www.your-url.blah}:imageGallery\&lt;/A&gt;"";&lt;BR /&gt;query += ' +PATH:"/app:company_home/cm:Gallery/cm:IMAGE/cm:OtherGalleries/cm:City/*"';&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 09:29:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184750#M137880</guid>
      <dc:creator>sbuckle</dc:creator>
      <dc:date>2008-10-31T09:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: list of nodes at a particular location?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184751#M137881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, thank you very much!!&amp;nbsp; That worked!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 18:04:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-nodes-at-a-particular-location/m-p/184751#M137881</guid>
      <dc:creator>charlie22</dc:creator>
      <dc:date>2008-11-03T18:04:40Z</dc:date>
    </item>
  </channel>
</rss>

