cancel
Showing results for 
Search instead for 
Did you mean: 

aspect doesn't show when select add aspect in perform action

thanabodee
Champ in-the-making
Champ in-the-making
I try to customize aspects to show in Perform actions > Add aspect when create new rules. I add my aspects to <addable></addable> but my aspects doesn't show why??

   <config evaluator="string-compare" condition="DocumentLibrary" replace="true">         
       <aspects>
           <visible>
               <aspect name="it:reviewer1"/>
               <aspect name="it:reviewer2"/>                                             
               <aspect name="it:approver1"/>                                             
               <aspect name="it:approver2"/>                                             
           </visible>                                                                    

           <addable>                                                                     
               <aspect name="it:reviewer1"/>
               <aspect name="it:reviewer2"/>
               <aspect name="it:approver1"/>                                             
               <aspect name="it:approver2"/>
           </addable>                                                                    

           <removable>                                                                   
               <aspect name="it:reviewer1"/>
               <aspect name="it:reviewer2"/>                                             
               <aspect name="it:approver1"/>                                             
               <aspect name="it:approver2"/>                                             
           </removable>
       </aspects>
   </config>
1 REPLY 1

loftux
Star Contributor
Star Contributor
The config looks ok, but note that you are removing all the built in aspects using this config (but that may be your intention)
In what file have you placed this config? If in share-config-custom.xml, search for duplicates of this file. Alfresco Share will only use the first one found. It may also be that if you installed some addons that they have a share-config-custom.xml embedded in a jar or similar.