11-05-2009 05:44 AM
11-05-2009 06:54 AM
<model name="sgnhp:sgnhpModels" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Some description</description>
<author>About</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>
<namespaces>
<!– Define a Namespace for my new definitions –>
<namespace uri="ru.snos.sgnhp" prefix="sgnhp"/>
</namespaces>
<!– Type and Aspect definitions go here –>
<types>
<type name="sgnhp:engineeringContract">
<title>Engineering Contract</title>
<parent>cm:folder</parent>
<properties>
<property name="sgnhp:contractNumber">
<type>d:text</type>
</property>
<property name="sgnhp:plant">
<type>d:text</type>
</property>
<property name="sgnhp:workshop">
<type>d:text</type>
</property>
</properties>
</type>
</types>
</model>
web-client-config-custom.xml
<config evaluator="string-compare" condition="Space Wizards">
<folder-types>
<type name="sgnhp:engineeringContract"/>
</folder-types>
</config>
<config evaluator="node-type" condition="sgnhp:engineeringContract">
<property-sheet>
<show-property name="sgnhp:contractNumber" display-label-id="contractNumber"/>
<show-property name="sgnhp:plant" display-label-id="plant"/>
<show-property name="sgnhp:workshop" display-label-id="workshop"/>
</property-sheet>
</config>
11-05-2009 09:15 AM
11-05-2009 09:56 AM
11-06-2009 01:54 AM
11-06-2009 02:04 AM
11-06-2009 03:25 AM
11-06-2009 04:14 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Registration of new models –>
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/customModel.xml</value>
</list>
</property>
</bean>
</beans>
Restart the Tomcat server.
11-06-2009 06:36 AM
11-06-2009 06:40 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.