AnsweredAssumed Answered

Custom Content Type is not listed in web client

Question asked by nys on Aug 12, 2008
Latest reply on Oct 13, 2008 by archana.bonkanpally
HI All,

I m trying to create custom content type.I have all the three xml files in the /alfresco/extension directory.But the custom content type is not listed in Alfresco web client when i try to Add/Create content. Tomcat is not throwing any exceptions.Could someone please help me resolve the issue.

Here are the xml files.

<?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="pr:customModel" xmlns="">

   <!– Optional meta-data about the model –>  
   <description>Custom Model</description>

        <!– Import Alfresco Dictionary Definitions –>
      <import uri="" prefix="d"/>
      <!– Import Alfresco Content Domain Model Definitions –>
      <import uri="" prefix="cm"/>

<!– Introduction of new namespaces defined by this model –>
<!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –>
   <namespace uri="custom.model" prefix="pr"   />

   <type name="pr:record">
         <property name="pr:fname">
            <title>First Name</title>
         <property name="pr:lname">
            <title>Last Name</title>
         <property name="pr:info">
            <title>Case Number</title>


<?xml version='1.0' encoding='UTF-8'?>


    <!– Registration of new models –>   
    <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">



<config evaluator="node-type" condition="pr:record">
   <show-property name="pr:fname" />
   <show-property name="pr:lname" />
   <show-property name="pr:info" />

<config evaluator="string-compare" condition="Content Wizards">
       <type name="pr:record" />