<?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: Custom Model and CMIS Query in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-model-and-cmis-query/m-p/282074#M235204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Go look at the type definition for your custom aspect (using a tool like OpenCMIS Workbench or a client library) and check (1) that the property is queryable and (2) that you are using the query name which could be different than the actual property name. (Especially with your non-alphanumeric character in the property name).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, using my SomeCo examples, I can successfully query in the sc:isActive boolean property like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT * FROM cmis:document as D join sc:webable as W on D.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId = W.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId where W.sc:isActive = true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2013 20:11:21 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2013-05-22T20:11:21Z</dc:date>
    <item>
      <title>Custom Model and CMIS Query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-model-and-cmis-query/m-p/282073#M235203</link>
      <description>Hi All, I have a custom model and in types definition I have the following definition:&amp;lt;type name="spu&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;rocesso"&amp;gt; &amp;nbsp; &amp;lt;title&amp;gt;Processo&amp;lt;/title&amp;gt; &amp;nbsp; &amp;lt;parent&amp;gt;cm:folder&amp;lt;/parent&amp;gt; &amp;nbsp; &amp;lt;properties&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="spu&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;rocesso.Numero"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Número&amp;amp;l</description>
      <pubDate>Wed, 22 May 2013 16:50:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-model-and-cmis-query/m-p/282073#M235203</guid>
      <dc:creator>adolfho</dc:creator>
      <dc:date>2013-05-22T16:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Model and CMIS Query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-model-and-cmis-query/m-p/282074#M235204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Go look at the type definition for your custom aspect (using a tool like OpenCMIS Workbench or a client library) and check (1) that the property is queryable and (2) that you are using the query name which could be different than the actual property name. (Especially with your non-alphanumeric character in the property name).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, using my SomeCo examples, I can successfully query in the sc:isActive boolean property like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT * FROM cmis:document as D join sc:webable as W on D.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId = W.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId where W.sc:isActive = true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 20:11:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-model-and-cmis-query/m-p/282074#M235204</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-05-22T20:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Model and CMIS Query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-model-and-cmis-query/m-p/282075#M235205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff, thank you for your answer but unfortunately we faced this problem after the whole application is already developed and we have to keep the non-alpha character. We are using CONTAINS(P, 'spu&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;rocesso.Externo: \'false\'') but is getting slower and now I know it isnt the right function to use once this isnt text to be searched.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Following our model I tried 'P.Externo:isActive' but it didnt work because I have its name as ":spu.processo.Externo" like is showed in the definition I pasted. Do you think there is another way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 12:42:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-model-and-cmis-query/m-p/282075#M235205</guid>
      <dc:creator>adolfho</dc:creator>
      <dc:date>2013-05-24T12:42:56Z</dc:date>
    </item>
  </channel>
</rss>

