<?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: CMIS query, cmis:path in WHERE clause in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254552#M207682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;that is because in that query with WHERE clause you can only use the &lt;/SPAN&gt;&lt;STRONG&gt;queryable &lt;/STRONG&gt;&lt;SPAN&gt;properties.Where cmis&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ath is not one of those property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2012 10:01:06 GMT</pubDate>
    <dc:creator>mitpatoliya</dc:creator>
    <dc:date>2012-04-05T10:01:06Z</dc:date>
    <item>
      <title>CMIS query, cmis:path in WHERE clause</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254551#M207681</link>
      <description>Hi all,I'm using the CMIS query language. A basic query like SELECT * FROM cmis:folder WHERE cmis:name='dataLists'‍ works fine.However, when querying the cmis&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ath property, I get an Internal Server error.SELECT * FROM cmis:folder WHERE cmis&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ath='dataLists'‍I expect the above query to return 0 resu</description>
      <pubDate>Thu, 05 Apr 2012 09:06:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254551#M207681</guid>
      <dc:creator>http</dc:creator>
      <dc:date>2012-04-05T09:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query, cmis:path in WHERE clause</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254552#M207682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;that is because in that query with WHERE clause you can only use the &lt;/SPAN&gt;&lt;STRONG&gt;queryable &lt;/STRONG&gt;&lt;SPAN&gt;properties.Where cmis&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ath is not one of those property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 10:01:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254552#M207682</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-04-05T10:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query, cmis:path in WHERE clause</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254553#M207683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for pointing this out. i've overlooked this in the documentation: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/CMIS_Query_Language#cmis:folder" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/CMIS_Query_Language#cmis:folder&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is there a way to query &lt;/SPAN&gt;&lt;STRONG&gt;cmis&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ath&lt;/STRONG&gt;&lt;SPAN&gt; using CONTAINS() ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 18:14:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254553#M207683</guid>
      <dc:creator>http</dc:creator>
      <dc:date>2012-04-05T18:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query, cmis:path in WHERE clause</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254554#M207684</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;You can use the standard Alfrecso path ueing &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;….CONTAINS('PATH:"//."')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 09:24:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254554#M207684</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2012-04-10T09:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query, cmis:path in WHERE clause</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254555#M207685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a query for CONTAINS('PATH:"//."') returns all repository items, indeed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how do I query for the repository item with a certain path, say &lt;/SPAN&gt;&lt;STRONG&gt;/Sites/mysite/documentLibrary/MyFolder&lt;/STRONG&gt;&lt;SPAN&gt; ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as far as i can understand the documentation, the PATH queries are for querying the type of objects (as opposed to their cmis&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ath property) &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search#Path_Queries" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search#Path_Queries&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gabor&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 12:42:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254555#M207685</guid>
      <dc:creator>http</dc:creator>
      <dc:date>2012-04-11T12:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query, cmis:path in WHERE clause</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254556#M207686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I think you get it wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Path Queries are to narrow down the search at particular location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You&amp;nbsp; can get all the documents residing under particular path using path query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally this path query is user along with other property based query and aspect based query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this is clear now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 04:59:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254556#M207686</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-04-16T04:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query, cmis:path in WHERE clause</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254557#M207687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was not able to narrow down the search by path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking for all folders within &lt;/SPAN&gt;&lt;STRONG&gt;MyFolder&lt;/STRONG&gt;&lt;SPAN&gt; with the path &lt;/SPAN&gt;&lt;STRONG&gt;/Sites/mysite/documentLibrary/MyFolder&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;SELECT * FROM cmis:folder WHERE CONTAINS('PATH:"/Sites/mysite/documentLibrary/MyFolder"')&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;The above query returns no results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably I'm getting the syntax within the CONTAINS predicate wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;How do I query for folders located below a certain path? &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would I have the the objectId of MyFolder, I could use IN_FOLDER or IN_TREE predicates. However, I have to query based on path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gabor&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 07:02:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254557#M207687</guid>
      <dc:creator>http</dc:creator>
      <dc:date>2012-04-17T07:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query, cmis:path in WHERE clause</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254558#M207688</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;You can use the node browser in share to get the PATH. It will be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; /app:company_home/st:sites/cm:swsdp/cm:documentLibrary/cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;resentations&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with ISO 9075 escaping as required for the path elements&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 16:06:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254558#M207688</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2012-04-17T16:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query, cmis:path in WHERE clause</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254559#M207689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Andy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can u tell me how i can get all folder from site&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and other query all files in folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am trying use somethink like&amp;nbsp;&amp;nbsp; SELECT * FROM cmis:folder WHERE CONTAINS('PATH:"/Sites/mysite/documentLibrary/MyFolder"')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but i get only empty table&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 14:06:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254559#M207689</guid>
      <dc:creator>johnny_k</dc:creator>
      <dc:date>2014-07-30T14:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query, cmis:path in WHERE clause</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254560#M207690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SELECT * FROM cmis:folder WHERE CONTAINS('PATH:"//app:company_home/st:sites/cm:NameSite/cm:documentLibrary/*"')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Solution of my question =))&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 11:36:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-cmis-path-in-where-clause/m-p/254560#M207690</guid>
      <dc:creator>johnny_k</dc:creator>
      <dc:date>2014-07-31T11:36:54Z</dc:date>
    </item>
  </channel>
</rss>

