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>
Here's what I added to core-services-context.xml (the 2nd entry) <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>
And here's the entry I put into the web-client-config-properties.xml file:<config evaluator="aspect-name" condition="dr:drRecovery">
<property-sheet>
<show-property name="dr:restoreOrder"/>
</property-sheet>
</config>
10-01-2007 01:34 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.