cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate customized actions

hfrank
Champ in-the-making
Champ in-the-making
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
2 REPLIES 2

gavinc
Champ in-the-making
Champ in-the-making
The logger action example is for use as part of a rule in the repository, there isn't any UI to see.

You can setup a rule in a space which calls the LoggerAction.

Have a read of these wiki pages:

http://wiki.alfresco.com/wiki/Custom_Actions
http://wiki.alfresco.com/wiki/Custom_Action_UI

anweber
Champ in-the-making
Champ in-the-making
Hi,

    As exercice, I have developped the UI part to call the logger-action : it's not really complex, we just have to follow instructions from "Custom Action UI" documentation.  If you are interested by the code & config. files, I have developped, please send me your eMail address and then I will send you back what I have written (without any promise of correctness).

     Regards,

             Andr