cancel
Showing results for 
Search instead for 
Did you mean: 

Adding custom menu items in 'More Actions' dropdown

aswini
Champ in-the-making
Champ in-the-making
Hi All,

Is it possible to add a custom menu item in More Actions for a document - saying 'Add Category'. On clicking it, how can I take it to the 'Manage Categories Dialog'?

Please help.

Thank you
Aswini
4 REPLIES 4

zaizi
Champ in-the-making
Champ in-the-making
You'll need to edit web-client-config-actions.xml and add action id "add_category" to "document_browse" action-group.

See http://wiki.alfresco.com/wiki/Externalised_Client_Actions for more details.

aswini
Champ in-the-making
Champ in-the-making
Thank you very much for the information Zaizi. Can you also let me know which is the evaluator/bean to show the 'Manage Categories' please.

<!– Show the Categories Dialog –>
   <action id="mg_show_cat">
      <evaluator>?</evaluator>
      <label-id>Add Category</label-id>
      <image>/images/icons/icon.gif</image>
      <action-listener>?</action-listener>
      <params>
         <param name="id">#{actionContext.id}</param>
      </params>
   </action>


Thank you
Aswini

aswini
Champ in-the-making
Champ in-the-making
Or if I could atleast find out which javascript is being called for 'Link item to Category' content rule action, I can associate the action to the dropdown menu. Please could anybody help?

Thank you
Aswini

aswini
Champ in-the-making
Champ in-the-making
Hi Can anyone help please?

I want to have categories assigned to a document when its getting uploaded. But the category assigned should be user's choice. How can I achieve this as a mandatory property please?

Thanks
Aswini