02-11-2008 10:19 AM
<?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="custom.model" prefix="custom"/>
</namespaces>
<types>
<type name="custom:Personeelsdossiers">
<title>Personeelsdossiers</title>
<parent>cm:content</parent>
<properties>
<property name="custom:Name1">
<title>Name1</title>
<type>d:text</type>
</property>
<property name="custom:Name2">
<title>Name2</title>
<type>d:text</type>
</property>
</properties>
</type>
</types>
<aspects>
<aspect name="; custom:Personeelsdossiers">
<title>Personeelsdossiers"</title>
<properties>
<property name="custom:Dossiernummer">
<title>Dossiernummer</title>
<type>d:text</type>
</property>
<property name="custom:Documenttype">
<title>Documenttype</title>
<type>d:text</type>
</property>
</properties>
</aspect>
</aspects>
</model>
<alfresco-config>
<!– Lists the custom aspect in business rules action wizard –>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="custom:Personeelsdossiers"/>
</aspects>
<subtypes>
<type name="custom:Personeelsdossiers"/>
</subtypes>
</config>
<!– Displays the properties in view details page –>
<config evaluator="aspect-name" condition="custom:Personeelsdossiers">
<property-sheet>
<separator name="sepCust1" display-label="Personeelsdossiers" component-generator=" HeaderSeparatorGenerator"/>
<show-property name="custom:Name1" />
<show-property name="custom:Name2" />
</property-sheet>
</config>
</alfresco-config>
Caused by: org.alfresco.service.namespace.NamespaceException: Namespace prefix ; custom is not mapped to a namespace URI
02-12-2008 09:46 AM
09-07-2010 10:51 AM
12-01-2010 03:50 PM
<aspect name="; custom:Personeelsdossiers">
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.