<?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 Queries on Nodes Outside of Company Home? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmis-queries-on-nodes-outside-of-company-home/m-p/305344#M258474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to do some CMIS queries on repository nodes that exist outside of Company Home.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My use case is this: I'd like to calculate some metrics on my users and when their accounts where created.&amp;nbsp;&amp;nbsp; Each user has a node under the System &amp;gt; People.&amp;nbsp;&amp;nbsp; These nodes have a child node named 'configurations' that provide a date created.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the CMIS search because it allows me provide a date range.&amp;nbsp;&amp;nbsp; What I'd like is to query the names and count of users created by month for the last three years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something similar to: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;SELECT * FROM cmis:folder WHERE cmis:name = 'configurations' AND cmis:creationDate &amp;gt; TIMESTAMP '2013-01-01T14:20:00.000-00:00' AND cmis:creationDate &amp;lt; TIMESTAMP '2013-02-01T14:20:00.000-00:00'&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;BR /&gt;&lt;SPAN&gt;My issue is that the javascript search APIs don't seem to accommodate searches outside of company home.&amp;nbsp; That said, how can I perform similar queries in javascript?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2013 16:48:52 GMT</pubDate>
    <dc:creator>vamirr</dc:creator>
    <dc:date>2013-08-05T16:48:52Z</dc:date>
    <item>
      <title>CMIS Queries on Nodes Outside of Company Home?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-queries-on-nodes-outside-of-company-home/m-p/305344#M258474</link>
      <description>I'm trying to do some CMIS queries on repository nodes that exist outside of Company Home.My use case is this: I'd like to calculate some metrics on my users and when their accounts where created.&amp;nbsp;&amp;nbsp; Each user has a node under the System &amp;gt; People.&amp;nbsp;&amp;nbsp; These nodes have a child node named 'configurati</description>
      <pubDate>Mon, 05 Aug 2013 16:48:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-queries-on-nodes-outside-of-company-home/m-p/305344#M258474</guid>
      <dc:creator>vamirr</dc:creator>
      <dc:date>2013-08-05T16:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS Queries on Nodes Outside of Company Home?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-queries-on-nodes-outside-of-company-home/m-p/305345#M258475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here are a few thoughts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - Lucene also supports date range searches. You don't need CMIS to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - CMIS doesn't care where in the repository your nodes live. But that configurations folder has to be of type cm:folder or one of its sub-types, including custom types. And the config objects have to be of type cm:content or one of its sub-types, including custom types. For example, objects that inherit directly from sys: and skip cm:content won't be available to CMIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - There is a "cmis" root-scoped object available from JavaScript. It was broken in 4.0 community for a while, but I believe it was fixed with 4.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - You might want to test your searches in the node browser. You can specify all of the different search syntaxes that the repository supports. Then when you are satisfied your query is working, you can worry about putting it in your code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Consider installing Florian Maul's JavaScript console if you have not already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 23:45:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-queries-on-nodes-outside-of-company-home/m-p/305345#M258475</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-08-15T23:45:17Z</dc:date>
    </item>
  </channel>
</rss>

