cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Aspect in Standard Action Rules

mplebani
Champ in-the-making
Champ in-the-making
Hi All,
I created a custom aspect. Now I want to create a rule that automatically add this aspect once a file is uploaded into a folder.
I know there is the standard "Add Aspect" action but I'm not able to add my custom aspect in the dropdown list.

Anyone can help me?

Thanks
– Marco
3 REPLIES 3

mitpatoliya
Star Collaborator
Star Collaborator
add this entry in share-config-custom.xml


  <config evaluator="string-compare" condition="DocumentLibrary">
      <aspects>
       <visible>
        <aspect name="custom:testAspect" />
         </visible>
      </aspects>
     </config>

mplebani
Champ in-the-making
Champ in-the-making
Hi Mits,
I've added the entry. The custom aspect is visible in the popup where I can add the aspect to file. But it is not visible in the dropdown list of the "add aspect" rule.

Cheers