mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
93587: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud) 93514: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.1) 93316: Merged DEV to V4.2-BUG-FIX (4.2.5) 93033 : MNT-13093 : Users cannot add Comments to any documents in Alfresco via Alfresco Mobile App. - Include subTypes of desired type to expectedTypes 93140 : MNT-13093 : Users cannot add Comments to any documents in Alfresco via Alfresco Mobile App. - TypeConstraint is changed to check for subClass on demand. Test for the fix git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
71 lines
2.2 KiB
XML
71 lines
2.2 KiB
XML
<?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="custom:customModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
|
|
|
|
<!-- Optional meta-data about the model -->
|
|
<description>Custom Model</description>
|
|
<author></author>
|
|
<version>1.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>
|
|
|
|
<!-- Introduction of new namespaces defined by this model -->
|
|
<!-- NOTE: The following namespace custom.model should be changed to reflect your own namespace -->
|
|
<namespaces>
|
|
<namespace uri="custom.model" prefix="custom"/>
|
|
</namespaces>
|
|
|
|
<types>
|
|
<!-- Definition of new Content Type: Standard Operating Procedure -->
|
|
<type name="custom:sop">
|
|
<title>Standard Operating Procedure</title>
|
|
<parent>cm:content</parent>
|
|
<properties>
|
|
<property name="custom:publishedDate">
|
|
<type>d:date</type>
|
|
</property>
|
|
<property name="custom:multiText">
|
|
<type>d:text</type>
|
|
<multiple>true</multiple>
|
|
</property>
|
|
</properties>
|
|
</type>
|
|
|
|
</types>
|
|
|
|
|
|
<aspects>
|
|
|
|
<!-- Definition of new Content Aspect: Image Classification -->
|
|
<aspect name="custom:imageClassification">
|
|
<title>Image Classfication</title>
|
|
<properties>
|
|
<property name="custom:width">
|
|
<type>d:int</type>
|
|
</property>
|
|
<property name="custom:height">
|
|
<type>d:int</type>
|
|
</property>
|
|
<property name="custom:resolution">
|
|
<type>d:int</type>
|
|
</property>
|
|
</properties>
|
|
</aspect>
|
|
|
|
<aspect name="custom:marker">
|
|
<title>marker</title>
|
|
</aspect>
|
|
|
|
</aspects>
|
|
|
|
</model> |