AnsweredAssumed Answered

Problem with aspect created

Question asked by toze on Aug 27, 2012
Latest reply on Apr 25, 2013 by mahaam
Hi! I created a new model, so i can use a new aspect

<?xml version="1.0" encoding="UTF-8"?>
<model xmlns:xsi=""              
       xsi:schemaLocation=" ../../../../webapps/alfresco/WEB-INF/classes/alfresco/model/modelSchema.xsd"     
       xmlns="" name="gscom:model">

     <import uri="" prefix="d"/>
     <import uri="" prefix="cm"/>
     <namespace uri="gscom.model" prefix="gscom"/>
  <!– Type and Aspect definitions go here –>   
      <aspect name="gscom:documentClassification">
         <title>Document Classification</title>
            <property name="gscom:name">
            <property name="gscom:publishedDate">
            <property name="gscom:author">

Then i added <value>alfresco/extension/gscomModel.xml</value> in custom-model-context

Then i went to share-config-custom and added
<!– Repository Library config section –>
   <config evaluator="string-compare" condition="RepositoryLibrary" replace="true">
         Whether the link to the Repository Library appears in the header component or not.
         <!– Aspects that a user can see –>
            <aspect name="gscom:documentClassification" />           

         <!– Aspects that a user can add. Same as "visible" if left empty –>

         <!– Aspects that a user can remove. Same as "visible" if left empty –>
     <!– <visible>true</visible> –>
   <config evaluator="aspect" condition="gscom:documentClassification">
                <show id="gscom:name" />
                <show id="gscom:publishedDate" />
            <show id="gscom:author" />
                <field id="gscom:name" label-id="prop.gscom_name" />
                <field id="gscom:publishedDate" label-id="prop.gscom_publishedDate" />
            <field id="gscom:author" label-id="prop.gscom_author" />

But when i start tomcat, dont have any erros and the model is not loaded! Any help?