<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="sc:somecomodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Service</description>
<author>Pashu</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" />
</imports>
<!– Introduction of new namespaces defined by this model –>
<namespaces>
<namespace uri="http://www.someco.com/model/content/1.0" prefix="sc" />
</namespaces>
<constraints>
<constraint name="sc:constraintDocumentType" type="LIST">
<parameter name="allowedValues">
<list>
<value>A</value>
<value>B</value>
<value>C</value>
<value>D</value>
</list>
</parameter>
</constraint>
<constraint name="sc:constraintFormationType" type="LIST">
<parameter name="allowedValues">
<list>
<value>A</value>
<value>B</value>
<value>C</value>
<value>D</value>
</list>
</parameter>
</constraint>
</constraints>
<types>
<type name="sc:doc">
<title>Service Academic (SAC)</title>
<parent>cm:content</parent>
<properties>
<property name="sc:familyname">
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="sc:firstname">
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="sc:birthdate">
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="sc:archiveDate">
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="sc:documentType">
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="sc:constraintDocumentType" />
</constraints>
</property>
<property name="sc:formationType">
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="sc:constraintFormationType" />
</constraints>
</property>
<property name="sc:documentDate">
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="sc:studentNo">
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
<mandatory-aspects>
<aspect>cm:generalclassifiable</aspect>
</mandatory-aspects>
</type>
</types>
</model>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.