Hi everyone,I have problems to consult properties of a aspect of a custom type, constantly I get the next message "Type is unsupported in query: mc:myaspect".This is my CMIS query:
select
d.*,
o.*
from
cmis:document as d
join
mc:myAspect as o
on
d.cmis:objectid = o.cmis:objectid
where
o.mc:myProperty = 'ev1'
And this is my custom model:
<?xml version="1.0" encoding="UTF-8"?>
<model name="mc:myModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
</imports>
<namespaces>
<namespace uri="http://www.mc.cl/model/content/1.0" prefix="mc" />
</namespaces>
<types>
<type name="mc:myType">
<parent>cm:content</parent>
</type>
</types>
<aspects>
<aspect name="mc:myAspect">
<properties>
<property name="mc:myProperty">
<type>d:text</type>
<mandatory>true</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>true</tokenised>
</index>
</property>
</properties>
</aspect>
</aspects>
</model>
Someone any idea that it can be?Thanks for any help.Greetings,Pablo.