As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<?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>
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 … 😞
Is a custom space example added to the wiki?
<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>
<config evaluator="string-compare" condition="Space Wizards"> <folder-types> <type name="cm:folder" description="KT Space" display-label="KT Space" /> </folder-types> </config>