cancel
Showing results for 
Search instead for 
Did you mean: 

Adding custom aspect to rules

onno182
Champ in-the-making
Champ in-the-making
I am trying to add a custom aspect to the 'add aspect' action list in the 'new rule' form.

In the docs it says to add the following in share-config:


<config evaluator="string-compare" condition="Action Wizards">
     <types>
        <type id="folder" descriptionMsgId="space"/>
        <type id="content"/>
     </types>
  <aspects>
    <aspect name="mvp:project"/>
  </aspects>
</config>


However, the aspect does not display in the list.

I guess I have to add something to share-config, but not sure what.
1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator
You should define the aspect properties and associations in a snippet inside the share-config-custom.xml, please visit the following doc page:
http://docs.alfresco.com/5.0/tasks/dev-extensions-content-models-tutorials-add-aspect.html

Hope this helps.
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.