<?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 for a document type in a specific folder in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-for-a-document-type-in-a-specific-folder/m-p/285472#M238602</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;BR /&gt;&lt;SPAN&gt;Im trying to make a web script that does a search for a Document Type in a user specified folder. Something like this works fine:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;query = 'TYPE:"intranet:billing" AND PATH:"/app:company_home/st:sites/cm:Intranet//*""';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But i wonder if theres an easier way to handle this because i must convert the user input "/intranet" to "/app:company_home/st:sites/cm:Intranet//*". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was looking at something easy/efficient like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;nodes = companyhome.childByNamePath(args.folder);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query = 'TYPE:"intranet:billing" AND PATH:"nodes"';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But i cant get it to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2013 12:05:06 GMT</pubDate>
    <dc:creator>i200</dc:creator>
    <dc:date>2013-03-04T12:05:06Z</dc:date>
    <item>
      <title>Search for a document type in a specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-for-a-document-type-in-a-specific-folder/m-p/285472#M238602</link>
      <description>Hi,Im trying to make a web script that does a search for a Document Type in a user specified folder. Something like this works fine:query = 'TYPE:"intranet:billing" AND PATH:"/app:company_home/st:sites/cm:Intranet//*""';But i wonder if theres an easier way to handle this because i must convert the u</description>
      <pubDate>Mon, 04 Mar 2013 12:05:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-for-a-document-type-in-a-specific-folder/m-p/285472#M238602</guid>
      <dc:creator>i200</dc:creator>
      <dc:date>2013-03-04T12:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Search for a document type in a specific folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-for-a-document-type-in-a-specific-folder/m-p/285473#M238603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does the user always enter a full site? Is the user searching from site dashboard (so you could add site and possibly path ot the query) or from user dashboard as well?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 11:31:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-for-a-document-type-in-a-specific-folder/m-p/285473#M238603</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-03-06T11:31:05Z</dc:date>
    </item>
  </channel>
</rss>

