06-05-2007 07:43 AM
06-05-2007 08:25 AM
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="custom:customModel"
xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– 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 –>
<namespaces>
<namespace uri="extension.custom" prefix="custom" />
</namespaces>
<types>
<!– Definition of new Content Type: Standard Operating Procedure –>
<type name="customrojectSpace">
<title>ProjectSpace</title>
<parent>cm:folder</parent>
<properties>
<property name="customolution">
<type>d:text</type>
<constraints>
<constraint type="LIST">
<parameter name="allowedValues">
<list>
<value>Alfresco</value>
<value>Documentum</value>
</list>
</parameter>
<parameter name="caseSensitive">
<value>true</value>
</parameter>
</constraint>
</constraints>
</property>
</properties>
<associations>
<association name="customM">
<target>
<class>cmerson</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
</associations>
</type>
</types>
</model>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="custom.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/mymodel-custom.xml</value>
</list>
</property>
</bean>
</beans>
<config evaluator="node-type" condition="customrojectSpace">
<property-sheet>
<show-property name="customolution" />
<show-association name="customM" show-in-edit-mode="true"
show-in-view-mode="true" />
</property-sheet>
</config>
06-05-2007 08:29 AM
06-05-2007 08:53 AM
Sorry for the indentation, I don't know why it doesn't work … when I edit my message it is indented, but when I see it it is not … 😞
08-10-2007 09:08 PM
Sorry for the indentation, I don't know why it doesn't work … when I edit my message it is indented, but when I see it it is not … 😞
08-13-2007 02:25 AM
08-13-2007 12:28 PM
Is a custom space example added to the wiki?
10-14-2008 02:30 AM
09-02-2009 02:00 PM
<config evaluator="string-compare" condition="Space Wizards">
<folder-types>
<type name="custom:projectSpace" description="Inline description of a Project Space"
display-label="Project Space" />
</folder-types>
</config>
09-28-2009 10:36 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.