AnsweredAssumed Answered

Error throwing when I add mandatory aspect in type definitio

Question asked by bisana on Jun 5, 2012
Latest reply on Jun 7, 2012 by bisana
Hi All
  I am trying out with Document Types and Aspect,
I  have created one document type, but  when I add mandatory aspect it gives error, may be I am not giving it on the correct order
My document type definition is as

<type name="sc:mydept">
<title>My Documents</title>
<parent>cm:content</parent>
<properties>
    <property name="sc:lddoctype">
        <type>d:text</type>
        <mandatory>true</mandatory>
     <constraints>
            <constraint ref="sc:LDconstraints" />
        </constraints>
   </property>
   <property name="sc:purpose">
<type>d:text</type>
<mandatory>true</mandatory>
  <constraints>
<constraint ref="sc:purposeList" />
</constraints>
</property>
  </properties>
</type>

I want to add the mandatory aspect  in the document type, whatever order I try out I am getting error
  
<mandatory-aspects>
<aspect>cm:generalclassifiable</aspect>
</mandatory-aspects>
I would like to request for advice
Help is appreciated
Thanks
Joseph John

Outcomes