<?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: Simple CMIS 1.1 search problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299137#M252267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I assume your custom property belongs to either a custom type or a custom aspect. If it belongs to a custom type, your from needs to include it, so it would be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;SELECT cmis:objectId FROM jis:myType WHERE jis:myProperty = "someText"&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;However, if your property is defined in an aspect, it would be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;SELECT D.cmis:objectId, J.jis:myProperty FROM cmis:document as D join jis:myAspect as J on D.cmis:objectId = J.cmis:objectId where J.jis:myProperty = , jis:myType as J WHERE J.jis:myProperty = "someText"&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;The custom content types tutorial has a CMIS section that includes example queries:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the CMIS &amp;amp; Apache Chemistry book has an entire chapter on query syntax:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.manning.com/mueller/" rel="nofollow noopener noreferrer"&gt;http://www.manning.com/mueller/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Feb 2014 17:00:28 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2014-02-07T17:00:28Z</dc:date>
    <item>
      <title>Simple CMIS 1.1 search problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299133#M252263</link>
      <description>I am googleing away and I am sure I am mixing my atompub, cmis 1.0, and cmis 1.1 I am using CMIS 1.1, I have a custom model, and I am trying to get all documents with my custom property value equaling something. My query is&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;ELECT cmis&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId FROM cmis:document D WHERE jis:myProperty = "someText"I</description>
      <pubDate>Fri, 07 Feb 2014 05:07:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299133#M252263</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2014-02-07T05:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Simple CMIS 1.1 search problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299134#M252264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select * from cmis:document WHERE jis:myProperty = 'someText' &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 14:34:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299134#M252264</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-02-07T14:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Simple CMIS 1.1 search problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299135#M252265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am getting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Invalid column for cmis:document.jis:myProperty&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know I have done the modeling correctly, because 1: I used this property when I used CMIS to import the documents, and 2: when I view the properties in explorer they are there.&amp;nbsp; I have no errors in the logs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:09:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299135#M252265</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2014-02-07T16:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Simple CMIS 1.1 search problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299136#M252266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry just noticed cmis:document wont have your property.&amp;nbsp;&amp;nbsp; You need to use the name of your type.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps if you posted details of your model then we would be able to answer better.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:35:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299136#M252266</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-02-07T16:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Simple CMIS 1.1 search problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299137#M252267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I assume your custom property belongs to either a custom type or a custom aspect. If it belongs to a custom type, your from needs to include it, so it would be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;SELECT cmis:objectId FROM jis:myType WHERE jis:myProperty = "someText"&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;However, if your property is defined in an aspect, it would be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;SELECT D.cmis:objectId, J.jis:myProperty FROM cmis:document as D join jis:myAspect as J on D.cmis:objectId = J.cmis:objectId where J.jis:myProperty = , jis:myType as J WHERE J.jis:myProperty = "someText"&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;The custom content types tutorial has a CMIS section that includes example queries:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the CMIS &amp;amp; Apache Chemistry book has an entire chapter on query syntax:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.manning.com/mueller/" rel="nofollow noopener noreferrer"&gt;http://www.manning.com/mueller/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 17:00:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299137#M252267</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-02-07T17:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Simple CMIS 1.1 search problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299138#M252268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for the duplication, Mark–I didn't see your response until I hit save!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 17:01:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299138#M252268</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-02-07T17:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Simple CMIS 1.1 search problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299139#M252269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you both.&amp;nbsp; works great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff, thanks for the links, that is exactly what I was looking for.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 18:18:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/simple-cmis-1-1-search-problem/m-p/299139#M252269</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2014-02-07T18:18:00Z</dc:date>
    </item>
  </channel>
</rss>

