AnsweredAssumed Answered

Problems creating custom content model

Question asked by dooley on Nov 15, 2007
Latest reply on Jan 2, 2008 by kevinr
I'm trying to create a custom content model to create a new content type, here is my code


<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="bg:blogmodel" xmlns="">
   <description>Blog Model</description>

      <!– Import Alfresco Content Domain Model Definitions –>
      <import uri="" prefix="cm"/>
      <!– Import Alfresco Content Domain Model Definitions –>
      <import uri="" prefix="fm"/>
      <namespace uri="" prefix="bg"/>

      <type name="bg:blogs">
         <title>Blog Space</title>
      <type name="bg:blog">
      <type name="bg:blogpost">
         <title>Blog Post</title>


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


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


Right now I'm trying to see if it works by trying to adding the bg:blogpost to the create content wizard, but I can't get it to be included in the drop down.  Here is my code for my web-client-config-custom.xml:

<!– add blog types to teh add content list –>
   <config evaluator="string-compare" condition="Content Wizards">
         <type name="bg:blogpost" />

If I'm missing something here, please let me know.  This is my first try in creating new content models