AnsweredAssumed Answered

How to activate customized actions

Question asked by hfrank on Jul 24, 2006
Latest reply on Aug 3, 2006 by anweber
Hi,
I built the LoggerAction action in the sample pack successfully and deployed it to my alfresco instance. In fact, I just copied the custom-action.jar into the folder: /WEB-INF/lib/.
How could I activate the deployed action from the Web Client?

I read the configuration guide in the WIKI and was able to add a new menuitem to the web client by adding the following code into the file: web-client-config-custom.xml in the folder - shared/classes/alfresco/extension:

<config>
   <actions>
      <!– Launch Customized Action –>
      <action id="logger_action">
         <label>LoggerAction</label>
         <image>/images/icons/action.gif</image>
         <action>logger-action</action>

      </action>
        
      <!– Add action to more actions menu for each space –>
      <action-group id="document_browse">
         <action idref="logger_action" />
      </action-group>
   </actions>
  </config>

But I can not activate it from the Web Client.
Any hints will be appreciated.

Thanks
Frank

Outcomes