AnsweredAssumed Answered

Error with custom content model

Question asked by udaya on Dec 5, 2011
Latest reply on Dec 6, 2011 by udaya
hi,

i am having similar requirement. i am using Alfresco community version 4.0
Below are my Files:

bpa-model-context.xml

<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">
            <list>
               <value>alfresco/extension/bpaModel.xml</value>
                <value>alfresco/extension/model/userContentModel.xml</value>
            </list>
        </property>
</bean>

bpaModel.xml

<namespaces>
      <namespace uri="bpa.model" prefix="bpa"/>
   </namespaces>
     
   <aspects>
      <aspect name="bpa:UserDetails">
         <title>User Details</title>
         <properties>
            <property name="bpa:Name">
               <title>Name</title>
               <type>d:text</type>
               <protected>false</protected>
               <mandatory>false</mandatory>
            </property>
         </properties>
      </aspect>
   </aspects>

userContentModel.xml

…..
</associations>
       
         <mandatory-aspects>
          <aspect>bpa:UserDetails</aspect>
       </mandatory-aspects>
       
</type>


i am getting error with this code:
can anyone help me what i am missing out!!!!!!!

Thanks
Udaya.R

Outcomes