AnsweredAssumed Answered

bonjour;j'ai construit deux modèles mais lors de...

Question asked by sarra on Jul 19, 2007
Latest reply on Feb 23, 2011 by lodacom
bonjour;

j'ai construit deux modèles mais lors de l'affchage d'alfresco et en appyant sur l'onglet de 'ajout contenu" puis après importation je trouve pas l'un de mes nouveaux modèles dans la liste déroulante alors je vous donne le contenu de  fichier   web-client-config-custom.xml sachant que j'ai pas d'erreur au niveau de démarrage de serveur tomcat:
<alfresco-config>
<!– Example of adding languages to the list in the login page –>
   <config evaluator="string-compare" condition="Languages">
      <languages>
         <language locale="ca_ES">Catalan</language>
         <language locale="da_DK">Danish</language>
         <language locale="de_DE">German</language>
         <language locale="es_ES">Spanish</language>
         <language locale="el_GR">Greek</language>
         <language locale="fr_FR">French</language>
         <language locale="it_IT">Italian</language>
         <language locale="ja_JP">Japanese</language>
         <language locale="du_NL">Dutch</language>
         <language locale="pt_BR">Portuguese (Brazilian)</language>
         <language locale="ru_RU">Russian</language>
         <language locale="fi_FI">Finnish</language>
         <language locale="tr_TR">Turkish</language>
         <language locale="zh_CN">Simplified Chinese</language>
      </languages>
   </config>
<config evaluator="string-compare" condition="Content Wizards">
      <content-types>
         <type name="my:sop" />
      </content-types>
   </config>

   <config evaluator="node-type" condition="my:sop">
      <property-sheet>
         <show-property name="mimetype" display-label-id="content_type"
                        component-generator="MimeTypeSelectorGenerator" />
         <show-property name="size" display-label-id="size"
                        converter="org.alfresco.faces.ByteSizeConverter"
                        show-in-edit-mode="false" />              
         <show-property name="my:Numero CIN" />
  <show-association name="my:signOff" />
         <show-property name="my:Date de Signature" />
    <show-child-association name="my:processSteps" />
      </property-sheet>
   </config>

   <config evaluator="aspect-name" condition="my:imageClassification">
      <property-sheet>
         <show-property name="my:width"/>
         <show-property name="my:height"/>
         <show-property name="my:resolution"/>
      </property-sheet>
   </config>

   <config evaluator="string-compare" condition="Action Wizards">
      <aspects>
         <aspect name="my:imageClassification"/>
      </aspects>
   </config>

   <config evaluator="string-compare" condition="Advanced Search">
      <advanced-search>
         <content-types>
            <type name="my:sop" />
         </content-types>
         <custom-properties>
            <meta-data type="my:sop" property="my:Numero CIN" />
          <meta-data type="my:sop" property="my:Date de Signature" />
         
    <meta-data aspect="my:imageClassification" property="my:resolution" />
         </custom-properties>
      </advanced-search>
   </config>

<!– add webable aspect properties to property sheet –>

<config evaluator="string-compare" condition="Content Wizards">
      <content-types>
         <type name="sc:doc" />
      
      </content-types>
   </config>
 
  <config evaluator="node-type" condition="sc:doc">
   <property-sheet>
      <show-property name="sc:Identifiant_Unique" />
      <show-property name="sc:Nom_De_L_Affilie"  />
      <show-property name="sc:Prenom_De_L_Affilie"  />
      <show-property name="sc:Date_De_Naissance"  />
      <show-property name="sc:Numero_Extrait"  />
       <show-property name="sc:Annee_Extrait"  />
    <!–   <show-association name="sc:relatedDocuments" />–>
     
   </property-sheet>
</config>


<config evaluator="aspect-name" condition="sc:webable">
      <property-sheet>
         <show-property name="sc:published" display-label-id="published" />
         <show-property name="sc:isActive" display-label-id="isActive"  read-only="true"/>   

<show-association name="sc:relatedDocuments" />
</property-sheet>
   </config>
  
<config evaluator="string-compare" condition="Content Wizards">
<aspects>
<aspect name="sc:webable"/>
<aspect name="sc:productRelated"/>
</aspects>

<subtypes>
<type name="sc:doc" />
</subtypes>

<specialise-types>
<type name="sc:doc" />

</specialise-types>
</config>

<config evaluator="string-compare" condition="Advanced Search">
      <advanced-search>
         <content-types>
            <type name="sc:doc" />
         
         
         </content-types>
         <custom-properties>
            <meta-data type="sc:doc" property="sc:Identifiant_Unique"  />
         
         <meta-data type="sc:doc" property="sc:Nom_De_L_Affilie" />
         
         <meta-data type="sc:doc" property="sc:Prenom_De_L_Affilie" />
         
         <meta-data type="sc:doc" property="sc:Date_De_Naissance" />
         
         <meta-data type="sc:doc" property="sc:Numero_Extrait" />
         
         <meta-data type="sc:doc" property="sc:Annee_Extrait" />
        </custom-properties>
      </advanced-search>
   </config>
</alfresco-config>
merci d'avance pour votre aide.
cordialement.
SARRA

Outcomes