04-16-2012 01:47 PM
<?xml version="1.0" encoding="utf-8"?>
<model name="ac:androidContent" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Android Content Model</description>
<author>Cynergy</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.cynergy.com/androidContent/content/1.0" prefix="ac"/>
</namespaces>
<constraints>
<constraint name="ac:NotificationSummary_Length" type="LENGTH">
<parameter name="minLength">
<value>1</value>
</parameter>
<parameter name="maxLength">
<value>50</value>
</parameter>
</constraint>
<constraint name="ac:Priority_Options" type="LIST">
<parameter name="allowedValues">
<list>
<value>High</value>
<value>Medium</value>
<value>Low</value>
</list>
</parameter>
</constraint>
</constraints>
<aspects>
<aspect name="ac:androidContentProps">
<title>Android Content</title>
<properties>
<property name="ac:propNotify">
<title>Notify</title>
<type>d:boolean</type>
</property>
<property name="ac:propNotificationSummary">
<title>Notification Summary</title>
<type>d:text</type>
<constraints>
<constraint ref="ac:NotificationSummary_Length" />
</constraints>
</property>
<property name="ac:propArchiveDate">
<title>Archive Date</title>
<type>d:datetime</type>
</property>
<property name="ac:propPublishDate">
<title>Publish Date</title>
<type>d:datetime</type>
</property>
<property name="ac:propPriority">
<title>Priority</title>
<type>d:text</type>
<multiple>false</multiple>
<constraints>
<constraint ref="ac:Priority_Options" />
</constraints>
</property>
</properties>
</aspect>
</aspects>
</model>
04-16-2012 05:18 PM
04-17-2012 04:08 PM
ac_androidContent.aspect.ac_androidContentProps=Android Content
aspect.ac_androidContentProps=Android Content
<?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>
<value>alfresco/extension/acandroidContent.xml</value>
</list>
</property>
<property name="labels">
<list>
<value>alfresco/extension/mymodel</value>
<value>alfresco/extension/acandroidContent</value>
</list>
</property>
</bean>
</beans>
04-17-2012 04:37 PM
04-23-2012 06:38 AM
04-23-2012 06:57 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Add XY messages –>
<bean id="webscripts.xy.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>alfresco.messages.XY</value>
</list>
</property>
</bean>
</beans>
aspect.kb_referencable=Knowledge Base Referencable
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.