12-28-2005 12:09 PM
<?xml version='1.0' encoding='UTF-8'?>
<model name="gto:projectModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Model of a project in GTO-space</description>
<author>Rick Mangi</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>
<!– Define a Namespace for my new definitions –>
<namespace uri="gto.project.model" prefix="gto"/>
</namespaces>
<!– Type and Aspect definitions go here –>
<aspects>
<aspect name="gto:project">
<title>GTO Project Specification</title>
<properties>
<property name="gto:projectName">
<type>d:text</type>
</property>
<property name="gto:clientName">
<type>d:text</type>
</property>
<property name="gto:entryDate">
<type>d:datetime</type>
</property>
</properties>
</aspect>
</aspects>
</model>
<bean id="extension.dictionaryBootstrap" class="org.alfresco.repo.dictionary.DictionaryBootstrap" init-method="bootstrap" depends-on="dictionaryBootstrap">
<property name="dictionaryDAO"><ref bean="dictionaryDAO"/></property>
<property name="models">
<list>
<value>alfresco/extension/projectModel.xml</value>
<value>alfresco/extension/exampleModel.xml</value>
<value>alfresco/extension/customModel.xml</value>
</list>
</property>
</bean>
<config evaluator="aspect-name" condition="gto:projectModel">
<property-sheet>
<show-property name="gto:projectName"/>
<show-property name="gto:clientName"/>
<show-property name="gto:entryDate"/>
</property-sheet>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<types>
<type name="folder" displayLabelId="space"/>
<type name="content"/>
</types>
<aspects>
…
<aspect name="gto:projectModel" displayLabel="GTO Project Model"/>
</aspects>
<config evaluator="aspect-name" condition="gto:projectModel">
<property-sheet>
<show-property name="gto:projectName"/>
<show-property name="gto:clientName"/>
<show-property name="gto:entryDate"/>
</property-sheet>
</config>
Error Please correct the errors below then click Finish.
* A system error happened during the operation: The aspect is invalid: {gto.project.model}projectModel
11:58:24,897 ERROR [repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'composite-action'.
org.alfresco.service.cmr.dictionary.InvalidAspectException: The aspect is invalid: {gto.project.model}projectModel
at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspect(DbNodeServiceImpl.java:490)
12-28-2005 12:13 PM
01-23-2006 02:10 PM
01-24-2006 04:00 AM
<aspect name="gto:project">
<title>GTO Project Specification</title>
<config evaluator="aspect-name" condition="gto:project">
01-24-2006 10:49 AM
01-24-2006 10:54 AM
01-24-2006 11:09 AM
01-24-2006 11:58 AM
01-25-2006 04:49 AM
<config evaluator="aspect-name" condition="gto:project">
<property-sheet>
<show-property name="gto:projectName"/>
<show-property name="gto:clientName"/>
<show-property name="gto:entryDate"/>
</property-sheet>
<navigation>
<override from-outcome="showSpaceDetails" to-view-id="/jsp/your/aspect-details-page.jsp" />
</navigation>
</config>
01-25-2006 05:12 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.