<?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 Search All Groups in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-all-groups/m-p/123594#M87023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want search all groups in a web script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This lucene search &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;TYPE:"{&lt;A href="http://www.alfresco.org/model/user/1.0}authorityContainer" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/user/1.0}authorityContainer&lt;/A&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;return all results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used AVM API&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;#assign store = avm.lookupStore("alfrescoUserStore")&amp;gt;&lt;BR /&gt;&amp;lt;#assign groups = store.luceneSearch("TYPE:\"{&lt;A href="http://www.alfresco.org/model/user/1.0}authorityContainer\" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/user/1.0}authorityContainer\&lt;/A&gt;"")&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;but I have this error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;avm.lookupStore("alfrescoUserStore") is undefined. It cannot be assigned to store&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I call&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;#assign stores = avm.stores&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;stores is empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do this search?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Emanuela&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Dec 2007 09:55:47 GMT</pubDate>
    <dc:creator>emmy</dc:creator>
    <dc:date>2007-12-17T09:55:47Z</dc:date>
    <item>
      <title>Search All Groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-all-groups/m-p/123594#M87023</link>
      <description>Hi, I want search all groups in a web script.This lucene search TYPE:"{http://www.alfresco.org/model/user/1.0}authorityContainer"‍‍‍return all results.I have used AVM API&amp;lt;#assign store = avm.lookupStore("alfrescoUserStore")&amp;gt;&amp;lt;#assign groups = store.luceneSearch("TYPE:\"{http://www.alfresco.o</description>
      <pubDate>Mon, 17 Dec 2007 09:55:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-all-groups/m-p/123594#M87023</guid>
      <dc:creator>emmy</dc:creator>
      <dc:date>2007-12-17T09:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Search All Groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-all-groups/m-p/123595#M87024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You cannot use the AVM API to do this - AVM stores use a different repository engine under the covers. Groups are not stores as "nodes" like the majority of Alfresco objects - the exist in a special table and are managed via the AuthorityService. The only currently available API is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API#People_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API#People_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need more functionality you will need to raise an enhancement request in JIRA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jan 2008 19:36:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-all-groups/m-p/123595#M87024</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2008-01-13T19:36:58Z</dc:date>
    </item>
  </channel>
</rss>

