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="dm:demoModel" xmlns="http://www.alfresco.org/model/dictionary/1.0"> <!– File goes in shared/classes/alfresco/extension –> <!– Meta-data about the model –> <description>Demo Model</description> <author>Paul Hampton</author> <version>1.0</version> <!– 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" /> <!– Import Alfresco Content Domain Model Definitions –> <import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" /> <import uri="http://www.alfresco.org/model/datalist/1.0" prefix="dl" /> </imports> <!– Sites Namespace –> <namespaces> <namespace uri="http://www.alfresco.org/model/demomodel/1.0" prefix="dm" /> </namespaces> <types> <type name="dm:contract"> <title>Contract</title> <parent>cm:content</parent> <properties> <property name="dm:contractid"> <title>Contract Number</title> <type>d:text</type> </property> </properties> </type> <type name="dm:sop"> <title>Standard Operating Procedure</title> <parent>cm:content</parent> <properties> <property name="dm:sopid"> <title>SOP Number</title> <type>d:text</type> </property> </properties> </type> <type name="dm:report"> <title>Report</title> <parent>cm:content</parent> <properties> <property name="dm:reportid"> <title>Report Number</title> <type>d:text</type> </property> </properties> </type> <type name="dm:casefile"> <title>Case File</title> <parent>cm:content</parent> <properties> <property name="dm:caseid"> <title>Case Number</title> <type>d:text</type> </property> </properties> </type> <type name="dm:issuelog"> <title>Issue Log</title> <parent>cm:content</parent> <properties> <property name="dm:issueid"> <title>Issue Number</title> <type>d:text</type> </property> </properties> </type> <type name="dm:proposal"> <title>Proposal</title> <parent>cm:content</parent> <properties> <property name="dm:proposalid"> <title>Proposal Number</title> <type>d:text</type> </property> </properties> </type> <type name="dm:meetingnotes"> <title>Meeting Notes</title> <parent>cm:content</parent> <properties> <property name="dm:meetingid"> <title>Meeting Number</title> <type>d:text</type> </property> </properties> </type> </types> <aspects> <aspect name="dm:customer"> <title>Customer Details</title> <properties> <property name="dm:customername"> <title>Customer Name</title> <type>d:text</type> </property> <property name="dm:customerid"> <title>Customer ID</title> <type>d:text</type> </property> <property name="dm:customercontact"> <title>Customer Contact</title> <type>d:text</type> </property> </properties> </aspect> <!– ********************** –> <aspect name="dm:customer123"> <title>Customer Details 123</title> <parent>dm:customer</parent> <overrides> <property name="dm:customername"> <!– <mandatory>true</mandatory> –> </property> </overrides> </aspect> <!– ********************** –> </aspects> </model> <!– d:text - Text field d:boolean - Checkbox d:noderef - Space Selector d:category - Category Selector d:datetime - Date Time range selectors d:date - Date range selectors d:int - Text field d:long - Text field d:double - Text field d:float - Text field –>