AnsweredAssumed Answered

Custom action linking in the web client

Question asked by simon on Oct 23, 2007
Latest reply on Oct 26, 2007 by simon
I would like to add a link in the web client for each document that triggers a custom action. The following is a good start for what I need (it goes in the web-client-config-custom.xml of your project):
   <config>
        <actions>
            <action id="log_action">
                <label>Log Action</label>
                <image>/images/icons/add.gif</image>
            </action>
            <action-group id="document_browse">
                <action idref="log_action" />
            </action-group>
        </actions>
    </config>
Now, this is a link but doesn't execute anything at this point. I would like to execute the CustomAction example from the Alfresco SDK which is a jar file in the Alfresco lib folder. Any idea how I can reference this action in the config above? I found something like this:
<evaluator>org.alfresco.web.action.evaluator.EditDocHttpEvaluator</evaluator>
but this doesn't work, the action is not an evaluator but an "executor" or something. Anyone?

Thanks!

Outcomes