Bonjour,J'essaie pour le moment de créer un nouveau type d'aspect. J'ai déjà réussi à créer un nouveau type de contenu en suivant le wiki (http://wiki.alfresco.com/wiki/Data_Dictionary_Guide) mais en ce qui concerne l'aspect, je ne voie pas très bien quelles sont les différentes modifications à faire.J'ai créer un fichier comptageModel.xml qui contient le code suivant :<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<!– The important part here is the name - Note: the use of the my: namespace
which is defined further on in the document –>
<model name="compt:comptagemodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Modele comptage</description>
<version>1.2</version>
<!– Imports are required to allow references to definitions in other models –>
<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"/>
</imports>
<!– Introduction of new namespaces defined by this model –>
<!– NOTE: The following namespace my.new.model should be changed to reflect your own namespace –>
<namespaces>
<namespace uri="compt.comptage.model" prefix="compt"/>
</namespaces>
<aspects>
<!– Definition of new Aspect Type –>
<aspect name="compt:eleve">
<title>Comptage</title>
<properties>
<property name="compt:Nom">
<type>d:text</type>
</property>
<property name="compt:Prenom">
<type>d:text</type>
</property>
<property name="compt:NumNat">
<type>d:long</type>
</property>
<property name="compt:DateNai">
<type>d:date</type>
</property>
</properties>
</aspect>
</aspects>
</model>
et j'ai modifié le fichier web-client-config-custom.xml en ajoutant les sections suivantes : <config evaluator="aspect-name" condition="compt:eleve">
<property-sheet>
<show-property name="compt:Nom"/>
<show-property name="compt:Prenom"/>
<show-property name="compt:NumNat"/>
<show-property name="compt:DateNai"/>
</property-sheet>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="compt:eleve"/>
</aspects>
</config>
mais mon aspect n'apparait pas.Y-a-t'il des erreurs dans mon code ? Ai-je oublié de modifier quelque chose ?Merci d'avance pour vos réponses,Christophe