12-31-2013 06:24 AM
<!– Dynamic Model –>
<model xmlns="http://www.alfresco.org/model/dictionary/1.0" name="dynamic:dynamicModel">
<!– Optional meta-data about the model –>
<description>Dynamic Model</description>
<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 dynamic.model should be changed to reflect your own namespace
–>
<namespaces>
<namespace uri="dynamic.model" prefix="dynamic"/>
</namespaces>
<types>
<!– Definition of new Content Type: Model1 –>
<type name="dynamic:Model1">
<title>Dynamic Model ONE</title>
<parent>cm:content</parent>
<properties>
<property name="dynamic:property11">
<title>Dynamic Property 11</title>
<type>d:text</type>
</property>
<property name="dynamic:property12">
<title>Dynamic Property 12</title>
<type>d:text</type>
</property>
</properties>
</type>
</types>
</model>
<alfresco-config>
<create-content>
<content id="plain-text" mimetype="text/plain" label="Create content" itemid="dynamic:dynamicModel" icon="plain-text"/>
</create-content>…
01-01-2014 01:37 AM
<config evaluator="string-compare" condition="DocumentLibrary">
<create-content>
<content id="plain-text" label="My Custom content" type="pagelink" index="210" icon="text">
<param name="page">create-content?destination={nodeRef}&itemId=dynamic:dynamicModel&mimeType=text/plain</param>
</content>
</create-content>
</config>
01-02-2014 02:04 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.