 
					
				
		
09-28-2007 10:06 AM
<?xml version="1.0" encoding="UTF-8"?>
<model name="dr:contentmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
   <description>My Model</description>
   <author>xxxxx</author>
   <published>2007-09-12</published>
   <version>1.0</version>
   
   <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="dr.doh.model" prefix="dr"/>
   </namespaces>
   <aspects>
      <aspect name="dr:drRecovery">
         <title>Disaster Recovery</title>
         <parent>cm:content</parent>
         <properties>
            <property name="dr:restoreOrder">
               <title>Disaster Recovery Level</title>
               <description>Importance order in which a document should be recovered in case of disaster</description>
               <type>d:int</type>
               <mandatory>true</mandatory>
            </property>
         </properties>
      </aspect>
   </aspects>      
</model> <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">
            <list>
                <value>alfresco/model/defaultCustomModel.xml</value>
                <value>alfresco/model/DOH_Content_Model.xml</value>
            </list>
        </property>
    </bean><config evaluator="aspect-name" condition="dr:drRecovery">
   <property-sheet>
       <show-property name="dr:restoreOrder"/>
   </property-sheet>
</config> 
					
				
		
09-28-2007 10:52 AM
 
					
				
		
09-28-2007 01:54 PM
 
					
				
		
09-28-2007 03:03 PM
 
<config evaluator="string-compare" condition="Action Wizards">
      <!– The list of aspects to show in the add/remove features action –>
      <!– and the has-aspect condition –>
      <aspects>
         <aspect name="your-custom-aspect-name"/>
       </aspects>
</config>
 
					
				
		
09-28-2007 03:24 PM
Failed to run Actions due to error: The aspect is invalid: {http://www.alfresco.org/model/content/1.0}drRecovery 
					
				
		
09-28-2007 03:42 PM
 
					
				
		
09-28-2007 04:01 PM
<model name="dr:recoverymodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
   <description>Disaster Recovery Model</description>
   <author></author>
   <published>2007-09-12</published>
   <version>1.0</version>
   
   <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>
      <!– Define a namespace for the new definition –>
      <namespace uri="dr.doh.model" prefix="dr"/>
   </namespaces>
   
   <aspects>
      <aspect name="dr:drRecovery">
         <title>Disaster Recovery</title>
         <properties>
            <property name="dr:restoreOrder">
               <type>d:int</type>
            </property>
         </properties>
      </aspect>
   </aspects>      
</model> 
					
				
		
09-28-2007 04:07 PM
 Good luck with your project..
 Good luck with your project..
					
				
			
			
				
			
			
			
			
			
			
			
		 
					
				
		
09-28-2007 04:16 PM
 
					
				
		
10-01-2007 12:52 PM
 
					
				
				
			
		
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.