05-16-2012 08:12 AM
<?xml version="1.0" encoding="UTF-8"?>
<!– Dynamic Model –>
<model name="my:foldermarche" xmlns="http://www.alfresco.org/model/dictionary/1.0">
   <!– Optional meta-data about the model –>   
   <description>my folder marché</description>
   <author>yves</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"/>
   </imports>
   <!– Introduction of new namespaces defined by this model –>
   <!– NOTE: The following namespace dynamic.model should be changed 
to reflect your own namespace –>
   <namespaces>
      <namespace uri="my.foldermarche" prefix="my"/>
   </namespaces>
   <types>
      <!– Definition of new folder Type: foldermarche –>
      <type name="my:foldermarche">
         <title>Dossier marché</title>
         <parent>cm:folder</parent>
         <properties>
            <property name="my:propriete1">
               <title>ma propriété 1</title>
               <type>d:text</type>
            </property>
            <property name="my:propriete2">
               <title>ma propriété 2</title>
               <type>d:text</type>
            </property>
         </properties>
      </type>
   </types>
</model> <config evaluator="string-compare" condition="Space Wizards">
      <folder-types>
      <type name="my:foldermarche"/>
      </folder-types>
   </config>
    <config evaluator="node-type" condition="my:foldermarche">
      <property-sheet>
         <show-property name="my:propriete1" />
   <show-property name="my:propriete2" />
     </property-sheet>
   </config>
  </alfresco-config>05-16-2012 11:04 AM
05-21-2012 03:58 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.