<?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 IN_FOLDER not working in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/in-folder-not-working/m-p/74159#M23770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did try the query, I don't get any result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;select d.* from cmis:document as d &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;where&amp;nbsp; IN_TREE (d, '8af4943a-44c5-43f4-8049-b193392ca0c4')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;ORDER BY d.cmis:lastModificationDate desc&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;but when I change IN_TREE with IN_FOLDER, it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;select d.* from cmis:document as d &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;where&amp;nbsp; IN_FOLDER (d, '8af4943a-44c5-43f4-8049-b193392ca0c4')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;ORDER BY d.cmis:lastModificationDate desc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I could find IN_TREE and IN_FOLDER are supposed to work the same way, except IN_TREE also contains sub-directories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;I did test with CMIS Workbench and Alfresco5.2.&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #999999;"&gt;Alfresco Share v5.2.f (r137983-b22, Aikau 1.0.101.10, Spring Surf 5.2.f, Spring WebScripts 6.15, Freemarker 2.3.20-alfresco-patched, Rhino 1.7R4-alfresco-patched, Yui 2.9.0-alfresco-20141223) Alfresco Community v5.2.0 (re21f2be5-b22) schema 10057&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2018 08:38:23 GMT</pubDate>
    <dc:creator>plean</dc:creator>
    <dc:date>2018-03-23T08:38:23Z</dc:date>
    <item>
      <title>IN_FOLDER not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-folder-not-working/m-p/74159#M23770</link>
      <description>Hello, I did try the query, I don't get any result:select d.* from cmis:document as d where&amp;nbsp; IN_TREE (d, '8af4943a-44c5-43f4-8049-b193392ca0c4')ORDER BY d.cmis:lastModificationDate descbut when I change IN_TREE with IN_FOLDER, it works fine:select d.* from cmis:document as d where&amp;nbsp; IN_FOLDER (d, '8a</description>
      <pubDate>Fri, 23 Mar 2018 08:38:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-folder-not-working/m-p/74159#M23770</guid>
      <dc:creator>plean</dc:creator>
      <dc:date>2018-03-23T08:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: IN_FOLDER not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-folder-not-working/m-p/74160#M23771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you running a setup with a working SOLR index server? The difference between both queries is that IN_FOLDER can be executed against the database, and thus would work even if SOLR is not available / working correctly. Any query with IN_TREE always has to be executed on the SOLR index server and will fail if that is not available or return no results if the documents in question have not been properly indexed (yet).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 11:25:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-folder-not-working/m-p/74160#M23771</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-03-23T11:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: IN_FOLDER not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-folder-not-working/m-p/74161#M23772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this information. I will search in this direction in the next days. I will inform about any changes ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 14:16:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-folder-not-working/m-p/74161#M23772</guid>
      <dc:creator>plean</dc:creator>
      <dc:date>2018-03-23T14:16:23Z</dc:date>
    </item>
  </channel>
</rss>

