04-16-2007 05:48 PM
01-15-2008 12:05 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Registration of new models –>
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/customModel.xml</value>
</list>
</property>
</bean>
</beans>
<!– add blog types to teh add content list –>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="custom:CustomerDetails"/>
</aspects>
</config>
<config evaluator="aspect-name" condition="custom:CustomerDetails">
<property-sheet>
<separator name="sepCust1" display-label="Customer Details"
component-generator="HeaderSeparatorGenerator"/>
<show-property name="custom:CustomerName"/>
<show-property name="custom:CustomerContactName"/>
<show-property name="custom:CustomerProjectID"/>
</property-sheet>
</config>
<?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="http://www.google.com/model/content/1.0" prefix="custom"/>
<!–namespace uri="http://www.alfresco.org/model/content/1.0" prefix="custom"/ –>
<!–/namespaces–>
<namespaces>
<namespace uri="wipro.custom.model" prefix="custom"/ >
</namespaces>
<!–aspects>
<aspect name="custom:NewDetails">
<properties>
<property name="custom:MYNewDetails">
<title>My New Details</title>
<type>d:text</type>
</property>
</properties>
</aspect>
</aspects–>
<aspects>
<aspect name="custom:CustomerDetails">
<title>Customer Details</title>
<properties>
<property name="custom:CustomerName">
<title>Customer Name</title>
<type>d:text</type>
</property>
<property name="custom:CustomerContactName">
<title>Customer Contact Name</title>
<type>d:text</type>
</property>
<property name="custom:CustomerProjectID">
<title>Customer Project ID</title>
<type>d:int</type>
</property>
</properties>
</aspect>
</aspects>
</model>
01-15-2008 02:01 PM
<?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>
<namespaces>
<namespace uri="wipro.custom.model" prefix="custom" />
</namespaces>
<aspects>
<aspect name="custom:CustomerDetails">
<title>Customer Details</title>
<properties>
<property name="custom:CustomerName">
<title>Customer Name</title>
<type>d:text</type>
</property>
<property name="custom:CustomerContactName">
<title>Customer Contact Name</title>
<type>d:text</type>
</property>
<property name="custom:CustomerProjectID">
<title>Customer Project ID</title>
<type>d:int</type>
</property>
</properties>
</aspect>
</aspects>
</model>
01-15-2008 11:03 PM
01-16-2008 02:34 AM
<types>
<!– Definition of new Content Type: Real CV –>
<type name="rls:cv">
<title>Real CV</title>
<parent>cm:content</parent>
<properties>
<property name="rls:name">
<type>d:text</type>
</property>
</properties>
<mandatory-aspects>
<aspect>cm:versionable</aspect>
<aspect>rls:locatable</aspect>
</mandatory-aspects>
</type>
</types>
<!–aspect definitions go here–>
01-16-2008 04:29 AM
03-27-2008 04:40 PM
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.