01-11-2013 04:39 AM
my_model.description=MyModel
<?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="example.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/MyModel.xml</value>
</list>
</property>
<property name="labels">
<list>
<value>alfresco/extension/MyModel</value>
</list>
</property>
</bean>
</beans>
<?xml version="1.0" encoding="UTF-8"?>
<model name="my:example" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Sample Model</description>
<author>jordiv</author>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<namespaces>
<namespace uri="http://www.jordiv.com/model/content/1.0" prefix="my"/>
</namespaces>
<aspects>
<aspect name="my:docProps">
<title>GB Aspects</title>
<properties>
<property name="my:projectId">
<title>Project ID</title>
<type>d:text</type>
</property>
<property name="my:questionId">
<title>Question ID</title>
<type>d:text</type>
</property>
<property name="my:uploadedBy">
<title>Uploaded By</title>
<type>d:text</type>
</property>
</properties>
</aspect>
</aspects>
</model>
<alfresco-config>
<config evaluator="aspect-name" condition="my:docProps">
<property-sheet>
<show-property name="my:projectId"/>
<show-property name="my:questionId"/>
<show-property name="my:uploadedBy"/>
</property-sheet>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="my:docProps" />
</aspects>
</config>
</alfresco-config>
01-11-2013 04:46 PM
01-14-2013 11:32 PM
03-06-2013 01:49 AM
05-01-2013 06:26 AM
09-30-2013 09:24 AM
01-13-2016 08:23 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.