<?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 cmis query with browser binding in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-with-browser-binding/m-p/289019#M242149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i apaologize for what looks like a rather simple qustion, but i have not been able to find a solution yet. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using Alfresco 4.2f and plan to use browser binding with javascript. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just want to do somthing simple like, for example, "give me back the names of all a documents in a folder". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know i can use "cmisselector=children&amp;amp;succinct=true", but this passes back too much information. I want to specify exactly, which information the api should deliver back. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So is there a way and how can i combine cmis query statements (select cmis:name from cmis:folder …) in a url with with browser binding?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for your help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Markus&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 08:30:10 GMT</pubDate>
    <dc:creator>markusr</dc:creator>
    <dc:date>2015-01-28T08:30:10Z</dc:date>
    <item>
      <title>cmis query with browser binding</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-with-browser-binding/m-p/289019#M242149</link>
      <description>Hello, i apaologize for what looks like a rather simple qustion, but i have not been able to find a solution yet. We are using Alfresco 4.2f and plan to use browser binding with javascript. I just want to do somthing simple like, for example, "give me back the names of all a documents in a folder".</description>
      <pubDate>Wed, 28 Jan 2015 08:30:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-with-browser-binding/m-p/289019#M242149</guid>
      <dc:creator>markusr</dc:creator>
      <dc:date>2015-01-28T08:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: cmis query with browser binding</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-with-browser-binding/m-p/289020#M242150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is the query you are looking for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockquote&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select cmis:name from cmis:document where in_folder('a29f27d7-3bdc-41c6-81a7-559d1a8b2ec3')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockquote&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That id in the IN_FOLDER clause is the cmis object ID of the folder I am searching.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can run that query from the OpenCMIS Workbench. You can also run it from a URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The way queries work with the browser binding is that you do a POST to the root URL, use a cmisaction of query, then pass the query in with the statement arg, so the POST would look like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser?cmisaction=query&amp;amp;statement=select" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser?cmisaction=query&amp;amp;statement=select&lt;/A&gt; cmis:name from cmis:document where in_folder('a29f27d7-3bdc-41c6-81a7-559d1a8b2ec3')&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 23:18:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-with-browser-binding/m-p/289020#M242150</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2015-02-14T23:18:52Z</dc:date>
    </item>
  </channel>
</rss>

