Hello! I have a question, how can I define properties for a custom type? Do i have to implement an aspect? Or can I declare properties for a type?
An example
<blockcode>
<types>
<!– Enterpriese-wide tipo di documento generico –>
<type name="tr:doc">
<title>Documento Trilogis</title>
<parent>cm:content</parent>
<associations>
<association name="tr:relatedDocument">
<title>Documenti Correlati</title>
<source>
<mandatory>false</mandatory>
<many>ture</many>
</source>
<target>
<class>tr:doc</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
<mandatory-aspects>
<aspect>cm:generalclassifiable</aspect>
</mandatory-aspects>
</type>
<type name="tr:trilogisoffer">
<title>Documento Offerta Trilogis</title>
<parent>tr:doc</parent>
<properties>
<property name="tr:client">
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
</types>
</blockcode>
I've declared properties for type "trilogisoffer", but the model isn't shown in alfresco. If i delete type "trilogisoffer" the model will be shown. Why?
Thanks