cancel
Showing results for 
Search instead for 
Did you mean: 

Replaceable Aspect

eray
Champ in-the-making
Champ in-the-making
In working through the Jeff Potts "Developing Custom Actions" tutorial, I've come to the realization the "replaceable" as an aspect doesn't work. Am I correct in my conclusion.

I'm using Enterprise 2.2.

My web-client-config-custom.xml looks like this.

<alfresco-config>
   <config evaluator="string-compare" condition="Action Wizards">
      <aspects>
         <aspect name="replaceable" />
      </aspects>
   
      <action-handlers>
         <handler name="move-replace"
            class="com.acquity.actions.MoveReplaceHandler" />
      </action-handlers>
   </config>
</alfresco-config>

When I view the document properties, there's no option to select a "replaceable" document. If fact, replaceable only shows up as an aspect in the Node Browser.

Any suggestions? Thanks.
1 REPLY 1

cbosdonnat
Champ in-the-making
Champ in-the-making
Hi eray,

You should put the fully qualified name of your aspect in the web-client-config-custom.xml file. For example:
<alfresco-config>
   <config evaluator="string-compare" condition="Action Wizards">
      <aspects>
         <aspect name="ex:replaceable" />
      </aspects>
</alfresco-config>

HTH