AnsweredAssumed Answered

Can a property's type be a custom content type?

Question asked by marcusthebrown on Jul 22, 2009
Latest reply on Jul 23, 2009 by jayjayecl
Can the property type of an aspect be a custom content type?  Something like this:


<types>
  <type name="abc:typePerson">
     <property name="abc:userID">
        <type>d:text</type>
    </property>
  </type>
</types>

<aspect name="abc:myAspect">
  <property name="abc:producer">
     <type>abc:typePerson</type>
  </property>
</aspect>

When I try and do this I get
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: Property type 'abc:typePerson' of property 'abc:producer' is not found
I'm in the process of creating a custom content model and want to know if this is possible.  If so, how can I do it? 
 
Any help would be greatly appreciated!

Outcomes