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"?> <!– Custom Model –> <!– Note: This model is pre-configured to load at startup of the Repository. So, all custom –> <!– types and aspects added here will automatically be registered –> <model name="cm:contentModel" xmlns="http://www.alfresco.org/model/dictionary/1.0"> <!– Optional meta-data about the model –> <description>Professional Person Model</description> <author></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 uri="http://www.syn.fr/model/person/ext" prefix="ppm"/> </imports> <types> <type name="cm:person"> <title>Person</title> <parent>cm:authority</parent> <properties> <!– The tokenisation set here is ignored - it is fixed for this type –> <!– This is so you can not break person lookup –> <property name="cm:userName"> <type>d:text</type> <mandatory>true</mandatory> <constraints> <constraint ref="cm:userNameConstraint" /> </constraints> </property> <property name="cm:homeFolder"> <type>d:noderef</type> <mandatory>true</mandatory> </property> <property name="cm:firstName"> <type>d:text</type> <mandatory>true</mandatory> </property> <property name="cm:lastName"> <type>d:text</type> <mandatory>true</mandatory> </property> <property name="cm:middleName"> <type>d:text</type> </property> <property name="cm:email"> <type>d:text</type> </property> <property name="cm:organizationId"> <type>d:text</type> </property> <property name="cm:homeFolderProvider"> <type>d:text</type> </property> <property name="cm:defaultHomeFolderPath"> <type>d:text</type> </property> <property name="cm:presenceProvider"> <type>d:text</type> </property> <property name="cm:presenceUsername"> <type>d:text</type> </property> <property name="cm:organization"> <type>d:text</type> </property> <property name="cm:jobtitle"> <type>d:text</type> </property> <property name="cm:location"> <type>d:text</type> </property> <property name="cm:persondescription"> <type>d:content</type> </property> <property name="cm:telephone"> <type>d:text</type> </property> <property name="cm:mobile"> <type>d:text</type> </property> <property name="cm:companyaddress1"> <type>d:text</type> </property> <property name="cm:companyaddress2"> <type>d:text</type> </property> <property name="cm:companyaddress3"> <type>d:text</type> </property> <property name="cm:companypostcode"> <type>d:text</type> </property> <property name="cm:companytelephone"> <type>d:text</type> </property> <property name="cm:companyfax"> <type>d:text</type> </property> <property name="cm:companyemail"> <type>d:text</type> </property> <property name="cm:skype"> <type>d:text</type> </property> <property name="cm:instantmsg"> <type>d:text</type> </property> <property name="cm:userStatus"> <type>d:text</type> </property> <property name="cm:userStatusTime"> <type>d:datetime</type> </property> <property name="cm:googleusername"> <type>d:text</type> </property> <property name="cm:emailFeedDisabled"> <type>d:boolean</type> </property> <property name="cm:subscriptionsPrivate"> <type>d:boolean</type> </property> <!– system maintained / protected values –> <property name="cm:emailFeedId"> <type>d:long</type> <protected>true</protected> </property> <property name="cm:sizeCurrent"> <type>d:long</type> <protected>true</protected> <mandatory enforced="true">true</mandatory> </property> <property name="cm:sizeQuota"> <type>d:long</type> <protected>true</protected> </property> </properties> <associations> <association name="cm:avatar"> <source> <role>cm:avatarOf</role> <mandatory>false</mandatory> <many>false</many> </source> <target> <class>cm:content</class> <role>cm:hasAvatar</role> <mandatory>false</mandatory> <many>false</many> </target> </association> </associations> </type> <mandatory-aspects> <aspect>ppm:attributes</aspect> </mandatory-aspects> </types> </model>
<?xml version="1.0" encoding="UTF-8"?> <model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.alfresco.org/model/dictionary/1.0 /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model/modelSchema.xsd" xmlns="http://www.alfresco.org/model/dictionary/1.0" name="arc:arcmodel"> <author>hello wrold</author> <version>0.0</version> <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> <namespaces> <namespace uri="http://www.foobar.org/model/content/1.0" prefix="arc" /> </namespaces> <aspects> <aspect name="arc:hasindex"> <title>indexable</title> <properties> <property name="arc:index"> <type>d:text</type> </property> </properties> </aspect> </aspects> </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="arc-repo3_dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap"> <property name="models"> <list> <value>alfresco/module/arc-repo3/model/arcModel.xml</value> </list> </property> </bean> </beans>
- WARNING: The file '/WEB-INF/lib/slf4j-api-1.7.7.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/78b128de-65cf-11e5-97fc-b327687a319.bin'
<aspects> <!– Example Custom Site Properties Aspect –> <aspect name="stcp:customProperties"> <title>Custom Person Properties</title> <properties> <property name="stcp:Person"> <title>Status</title> <type>d:text</type> <constraints> <constraint name="stcp:projectphase" type="LIST"> <parameter name="allowedValues"> <list> <value>Prepare</value> <value>Open</value> <value>Closed</value> </list> </parameter> <parameter name="caseSensitive"><value>true</value></parameter> </constraint> </constraints> </property> </properties> </aspect> </aspects>