02-25-2008 09:42 AM
<?xml version="1.0" encoding="UTF-8"?>
<!– Custom Model –>
<!– Note: This model is pre-configured to load at startup of the Repository. So, all custom –>
<!– types and aspects added here will automatically be registered –>
<model name="custom:customModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Custom Model</description>
<author></author>
<version>1.0</version>
<imports>
<!– Import Alfresco Dictionary Definitions –>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" />
</imports>
<!– Introduction of new namespaces defined by this model –>
<!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –>
<namespaces>
<namespace uri="custom.model" prefix="custom"/>
</namespaces>
<type name="custom:Rejected">
<title>Paper rejected</title>
<parent>sys:base</parent>
<properties>
<property name="custom:rejected">
<type>d:boolean</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
<aspect name="custom:Rejected">
<title>Paper rejected</title>
<properties>
<property name="custom:was_Rejected">
<type>boolean : false</type>
<mandatory>true</mandatory>
<property>
</properties>
</aspect>
</model>
<!– add rejectable aspect properties to property sheet –>
<config evaluator="aspect-name" condition="custom:Rejected">
<property-sheet>
<show-property name="custom:Rejection" display-label-id="rejected" read-only="true" />
</property-sheet>
</config>
<!– essais –>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="custom:Rejected"/>
</aspects>
</config>
#custom:Rejected
was_Rejected=false
02-25-2008 12:03 PM
02-26-2008 02:19 AM
Es tu sure que le contenu en question porte ton aspect ?
02-26-2008 04:29 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.