Adding custom menu items in 'More Actions' dropdown

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2009 05:37 AM
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
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
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2009 07:36 AM
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.
See http://wiki.alfresco.com/wiki/Externalised_Client_Actions for more details.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2009 09:04 AM
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
<!– 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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2009 10:41 AM
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
Thank you
Aswini

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2009 05:20 AM
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
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
