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"?> <model name="test:model" xmlns="http://www.alfresco.org/model/dictionary/1.0"> <description>test Model</description> <author>Test</author> <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="http://www.test.com/test/models/model/1.0" prefix="test"/> </namespaces> <types> <type name="test:document"> <title>test Document</title> <parent>cm:content</parent> <properties> <property name="test:myprop"> <title>My Prop</title> <type>d:boolean</type> <mandatory enforced="true">true</mandatory> <default>true</default> </property> </properties> </type> <type name="test:folder"> <title>test Folder</title> <parent>cm:folder</parent> <properties> <property name="test:myprop"> <title>My Prop</title> <type>d:boolean</type> <mandatory enforced="true">true</mandatory> <default>true</default> </property> </properties> </type> </types> </model>