cancel
Showing results for 
Search instead for 
Did you mean: 

share config-custom-xml.xml non pris en consideration

kawther
Champ in-the-making
Champ in-the-making

bonjour,

je travaille sous alfresco 5.0.d et je développe mon workflow avec activiti designer sous eclipse

dans mon workflow j'ai 4 taches (usertask) et donc 4 types définies dans mon modele

ces 4 types sont tous des sous types d'un mĂȘme type que j'ai dĂ©clare dans mon modĂšle.

j'ai fait ma configuration d'affichage coté share-config-custom.xml pour mes tùches. les formulaires de deux premiÚres tùches sont affichés tel que indiqué dans le <config..>

les deux autres formulaires sont affichés en totalité cad le <config...> n'est pas pris en compte

que dois je faire

help me

1 ACCEPTED ANSWER

cristinamr
World-Class Innovator
World-Class Innovator

Je pense qu'il ya une erreur ici:

<config evaluator="task-type" condition="revisionIITask">

et ici:

 <config evaluator="task-type" condition="revisionETask">

Il doit ĂȘtre:

<config evaluator="task-type" condition="cgwf:revisionIITask">
 <config evaluator="task-type" condition="cgwf:revisionETask">

Essayer les solutions suivantes: Pourquoi ne pas vous juste un bloc et l'essayer si vous le voyez dans Share UI?

Et aussi: Revisez l' alfresco.log/catalina.out pour savoir l'erreur.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

View answer in original post

6 REPLIES 6

ycoulon
Employee
Employee

Bonjour,

Si l'ensemble de vos formulaires sont dĂ©fini dans le mĂȘme fichiers de configuration et qu'une partie sont bien pris en compte le problĂšme n'est pas au niveau de la prise en compte de ce fichier de configuration mais plutĂŽt dans la dĂ©claration des formulaire eux-mĂȘmes.

Yann

cristinamr
World-Class Innovator
World-Class Innovator

Bonjour Kawther,

Normalement, si vous déclarez les formes share-config-custom.xml devrait charger correctement mais c'est trÚs sensible... Pouvez-vous mettre le contenu du fichier ici?

Cristina.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

kawther
Champ in-the-making
Champ in-the-making

merci pour votre interet

voici la partie du share-config-custom.xml relatif au problematique:

<alfresco-config>

     <config evaluator="string-compare" condition="activiti$conge3">
      <forms>
          ....
      </forms>
    </config>

 
  

  <config evaluator="task-type" condition="cgwf:chefTask">
    <forms >
        <form >
            <field-visibility>
               <show id="cgwf:matriculef" />  
         <show id="cgwf:nomprenomf" />  
           <show id="cgwf:gradef" />  
             <show id="cgwf:typecongef" />  
               <show id="cgwf:dureef" />  
           <show id="cgwf:datedebutf" />  
                 
        <show id="cgwf:remarquechef" />
        <show id="cgwf:remplacant" />
        <show id="cgwf:decisionchef" />  
        <show id="transitions" />
        </field-visibility>
            <appearance>
         <set id="response" appearance="title" label-id="workflow.set.response" />
              <field id="cgwf:matriculef" read-only="true" set="response" />  
                <field id="cgwf:nomprenomf" read-only="true" set="response" />
                  <field id="cgwf:gradef" read-only="true" set="response" />
                    <field id="cgwf:typecongef" read-only="true" set="response" />
                      <field id="cgwf:dureef" read-only="true" set="response" />
                        <field id="cgwf:datedebutf" read-only="true" set="response" />
                        
                  <field id="cgwf:remarquechef"  set="response" />       
                   <field id="cgwf:remplacant"  set="response" />       
                   <field id="cgwf:decisionchef"  set="response" />   
                  <field id="transitions" set="response" />                 
            </appearance>
        </form>
    </forms>
</config>

<config evaluator="task-type" condition="cgwf:dafTask">
    <forms >
        <form>
            <field-visibility>
        <show id="cgwf:matriculef" />  
         <show id="cgwf:nomprenomf" />  
           <show id="cgwf:gradef" />  
             <show id="cgwf:typecongef" />  
               <show id="cgwf:dureef" />  
           <show id="cgwf:datedebutf" />  
                 
        <show id="cgwf:remarquechef" />
        <show id="cgwf:remplacant" />
        <show id="cgwf:decisionchef" />
                         <show id="cgwf:remarquedaf" />
                 <show id="cgwf:decisiondaf" />  
                <show id="transitions" />
            </field-visibility>
            <appearance>
           <set id="response" appearance="title" label-id="workflow.set.response" />
              <field id="cgwf:matriculef" read-only="true" set="response" />  
                <field id="cgwf:nomprenomf" read-only="true" set="response" />
                  <field id="cgwf:gradef" read-only="true" set="response" />
                    <field id="cgwf:typecongef" read-only="true" set="response" />
                      <field id="cgwf:dureef" read-only="true" set="response" />
                        <field id="cgwf:datedebutf" read-only="true" set="response" />
                        
                  <field id="cgwf:remarquechef" read-only="true"  set="response" />       
                   <field id="cgwf:remplacant" read-only="true"  set="response" />       
                   <field id="cgwf:decisionchef" read-only="true"  set="response" />
                   
                    <field id="cgwf:remarquedaf"  set="response" />       
                   <field id="cgwf:decisiondaf"  set="response" />
                     
                  <field id="transitions" set="response" />               
                
                </appearance>
        </form>
    </forms>
</config>

 <config evaluator="task-type" condition="revisionETask">
    <forms >
        <form>
            <field-visibility>
       
        <show id="cgwf:matriculef" />  
         <show id="cgwf:nomprenomf" />  
           <show id="cgwf:gradef" />  
             <show id="cgwf:typecongef" />  
               <show id="cgwf:dureef" />  
           <show id="cgwf:datedebutf" />  
        <show id="cgwf:remarquechef" />
        <show id="cgwf:remplacant" />
        <show id="cgwf:decisionchef" />  
           <show id="cgwf:renvoyerounon" />
         <show id="transitions" />
        </field-visibility>
            <appearance>
         <set id="response" appearance="title" label-id="workflow.set.response" />
              <field id="cgwf:matriculef" read-only="true" set="response" />  
                <field id="cgwf:nomprenomf" read-only="true" set="response" />
                  <field id="cgwf:gradef" read-only="true" set="response" />
                                           
                  <field id="cgwf:remarquechef" read-only="true" set="response" />       
                   <field id="cgwf:remplacant" read-only="true" set="response" />       
                   <field id="cgwf:decisionchef" read-only="true" set="response" />  
                   
                    <field id="cgwf:typecongef" set="response" />
                     <field id="cgwf:dureef"  set="response" />
                     <field id="cgwf:datedebutf" set="response" />
                     <field id="renvoyerounon" set="response" />  
                   <field id="transitions" set="response" />                 
            </appearance>
        </form>
    </forms>
</config>


<config evaluator="task-type" condition="revisionIITask">
    <forms  >
        <form>
            <field-visibility>
            <show id="cgwf:matriculef" />  
         <show id="cgwf:nomprenomf" />  
           <show id="cgwf:gradef" />  
             <show id="cgwf:typecongef" />  
               <show id="cgwf:dureef" />  
           <show id="cgwf:datedebutf" />  
                 
        <show id="cgwf:remarquechef" />
        <show id="cgwf:remplacant" />
        <show id="cgwf:decisionchef" />  
        
         <show id="cgwf:renvoyerounon" />
          <show id="transitions" />
        </field-visibility>
            <appearance>
         <set id="response" appearance="title" label-id="workflow.set.response" />
              <field id="cgwf:matriculef" read-only="true" set="response" />  
                <field id="cgwf:nomprenomf" read-only="true" set="response" />
                  <field id="cgwf:gradef" read-only="true" set="response" />
                                           
                  <field id="cgwf:remarquechef" read-only="true" set="response" />       
                   <field id="cgwf:remplacant" read-only="true" set="response" />       
                   <field id="cgwf:decisionchef" read-only="true" set="response" />  
                   
                     <field id="cgwf:remarquedaf" read-only="true" set="response" />       
                   <field id="cgwf:decisiondaf" read-only="true" set="response" />  
                   
                    <field id="cgwf:typecongef" set="response" />
                     <field id="cgwf:dureef"  set="response" />
                     <field id="cgwf:datedebutf" set="response" />
                     <field id="renvoyerounon" set="response" />  
                       <field id="transitions" set="response" />                 
            </appearance>
        </form>
    </forms>
</config>


</alfresco-config>

donc voici les 4 config correspondent aux formulaires affichés; ce sont les deux derniers qui ne sont pas respectés (revisionETask et revisionIITask)

En fait, peut ĂȘtre qu'il faut savoir que j'ai dĂ©clarĂ© 4 types (1 par formulaire) qui hĂ©ritent tous d'un mĂȘme type  (pour pouvoir passer les valeurs de propriĂ©tĂ©s d'un formulaire Ă  un autre)

cristinamr
World-Class Innovator
World-Class Innovator

Je pense qu'il ya une erreur ici:

<config evaluator="task-type" condition="revisionIITask">

et ici:

 <config evaluator="task-type" condition="revisionETask">

Il doit ĂȘtre:

<config evaluator="task-type" condition="cgwf:revisionIITask">
 <config evaluator="task-type" condition="cgwf:revisionETask">

Essayer les solutions suivantes: Pourquoi ne pas vous juste un bloc et l'essayer si vous le voyez dans Share UI?

Et aussi: Revisez l' alfresco.log/catalina.out pour savoir l'erreur.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

kawther
Champ in-the-making
Champ in-the-making

résolu

merci beaucoup Cristina MR

cristinamr
World-Class Innovator
World-Class Innovator

De rien 🙂

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.