<?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: getting all subfolders through webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-all-subfolders-through-webscript/m-p/161659#M115588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey kayan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use Lucene to get a recursive list of all the subfolders. Be carefull, a recursive search in the Company Home folder uses a lot of resources if your data grows. The dubble slash with star indicates "all recursive children":&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;children = search.luceneSearch("PATH:\"/app:company_home//*\"");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2008 07:53:08 GMT</pubDate>
    <dc:creator>simon</dc:creator>
    <dc:date>2008-04-29T07:53:08Z</dc:date>
    <item>
      <title>getting all subfolders through webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-all-subfolders-through-webscript/m-p/161657#M115586</link>
      <description>Hi How can I able to get all sub folders through webscript? As for example I want to get all the folders and sub-folders recursively under the Company home.Any help will be appreciate.Thanks.</description>
      <pubDate>Fri, 18 Apr 2008 12:15:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-all-subfolders-through-webscript/m-p/161657#M115586</guid>
      <dc:creator>kayan</dc:creator>
      <dc:date>2008-04-18T12:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: getting all subfolders through webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-all-subfolders-through-webscript/m-p/161658#M115587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Firstly, I'm not a web script expert by any stretch of the imagination - I am just learning myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, you may find that the sample folder web script will provide a starting point.&amp;nbsp; This is accessible at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/service/sample/folder/Company%20Home" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/sample/folder/Company%20Home&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can list all the working webscripts available at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/service/index" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/index&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The source for the sample scripts are in the repository under Data Dictionary &amp;gt; Web Scripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The tutorial,"Intro to the Web Script Framework", is a great way to get started.&amp;nbsp; This is available at: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/alfresco-developer-series" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/alfresco-developer-series&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2008 06:15:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-all-subfolders-through-webscript/m-p/161658#M115587</guid>
      <dc:creator>dnind</dc:creator>
      <dc:date>2008-04-19T06:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: getting all subfolders through webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-all-subfolders-through-webscript/m-p/161659#M115588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey kayan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use Lucene to get a recursive list of all the subfolders. Be carefull, a recursive search in the Company Home folder uses a lot of resources if your data grows. The dubble slash with star indicates "all recursive children":&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;children = search.luceneSearch("PATH:\"/app:company_home//*\"");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 07:53:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-all-subfolders-through-webscript/m-p/161659#M115588</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2008-04-29T07:53:08Z</dc:date>
    </item>
  </channel>
</rss>

