09-29-2009 11:19 AM
09-29-2009 11:23 AM
09-29-2009 11:36 AM
09-30-2009 09:30 AM
<type name="custom:mytype">
<title>MyType</title>
<parent>cm:folder</parent>
</type>
Then, on web-client-config-custom.xml I added:
<config evaluator="string-compare" condition="Action Wizards">
<subtypes>
<type name="custom:mytype"/>
</subtypes>
</config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="custom:mytype"/>
</content-types>
</config>
While I'm able to find mytype in the action wizards, I can't find it in the content wizards, probably because it is NOT a content type (it doesn't extend cm:content). This is a problem, since I can't create a content of mytype…09-30-2009 10:12 AM
09-30-2009 10:35 AM
09-30-2009 12:38 PM
01-15-2010 11:57 AM
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 00150000
Parent class cm:object of class custom:clinicalstudy is not found
<?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 xmlns="http://www.alfresco.org/model/dictionary/1.0" name="custom:customStudyModel">
<!– Optional meta-data about the model –>
<description>Custom Study Model</description>
<author>G</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"/>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="sys"/>
</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:clinicalstudy">
<title>Clinical Study</title>
<parent>cm:content</parent>
<!– Error DictionaryException: 00150000 Parent class xxxx not found –>
<!–<parent>sys:base</parent>–>
<!–<parent>cm:object</parent>–>
01-16-2010 05:30 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.