cancel
Showing results for 
Search instead for 
Did you mean: 

Type does not show up in Content Wizards

vikram
Champ in-the-making
Champ in-the-making
Hi Everyone,

First of all its nice to see such a quality open source software building up! congrats to all!

A have a little problem. My new "type" will not show up in the "Content Wizards" type selectbox.

Here is the code:

web-client-config-custom.xml

<alfresco-config>

   <!–  add someco types to add content list –>
   <config evaluator="string-compare" condition="Content Wizards">
      <content-types>
         <type name="fivee:interactiveMaps" />
      </content-types>
   </config>

</alfresco-config>



mapImageModel.xml

<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="fivee:mapImageModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">

   <!– Optional meta-data about the model –>
   <description>Map Model</description>
   <author>Vikram Mandal</author>
   <version>1.0</version>

   <!– Imports are required to allow references to definitions in other models –>
   <imports>
      <!– Import Alfresco Dictionary Definitions –>
      <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
      <!– Import Alfresco Content Domain Model Definitions –>
      <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
   </imports>

   <!– Introduction of new namespaces defined by this model –>
   <namespaces>
      <namespace uri="http://www.fivee.in/model/content/1.0" prefix="fivee" />
   </namespaces>

   <types>
      <!– Enterprise-wide generic document type –>
      <type name="fivee:interactiveMaps">
         <title>Map Document</title>
         <parent>cm:content</parent>
      </type>
   </types>
</model>

map-reference-model-context.xml

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>
    <!– Registration of new models –>
    <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">
            <list>
                <value>alfresco/extension/mapImageModel.xml</value>
            </list>
        </property>
    </bean>
</beans>


I am using Alf 2.0
Thanks in advance for help.
5 REPLIES 5

vikram
Champ in-the-making
Champ in-the-making
any one around  :?:

umair_qureshi
Champ in-the-making
Champ in-the-making
I'm facing the same problem, I followed the steps in the Alfresco book by Munwar Shariff and the type didn't show.

vikram
Champ in-the-making
Champ in-the-making
editing an existing working example xml files got it working. .. finally  :cry:

stiegld
Champ in-the-making
Champ in-the-making
Is there any more specific information on the solution? Which example files did you change? Can you post your working file? This problem plagues me as well.

stiegld
Champ in-the-making
Champ in-the-making
Problem solved… I was creating and integrating an AMP file. The file directory structure was incorrect. Here is the structure that worked for me:

config/alfresco/extension ->
   customModel.xml
   customModel-context.xml
   web-client-config.custom.xml

alfresco/module/myModule ->
   module.properties
   module-context.xml

alfresco/module/myModule/context ->
   service-context.xml