Nuxeo Server

How to Add a New Action Category on a Document Tab

Updated: October 13, 2017 Page Information Edit on GitHub

This page is scheduled for review and update. Check back soon for updated content!

Nuxeo Studio enables you to add new buttons and links, called actions, when you implement new features. These actions are located in predefined places on the page, that we call action categories.

It is possible to define new action categories on the custom tab of documents, that is to say new places on that tab where you can add new links, icons or buttons.

Creating a New Category

To create a new action category:

  1. In the Settings menu, click on Registries to unfold it, and click on the Action categories item.
  2. Click on See Example to display the example and click on the Insert link to use the example as a basis. The example is copied in the text area below.
  3. Keep only the section MyActionCat.
  4. Edit the MyActionCat definition:

    • replace MyActionCat by the ID of your new action category,
    • replace My First Action Category by the name of you new action category label that will be displayed in the Studio user interface. Be sure not to remove the double quotes.
  5. Click on the Save button. You new category is now created. It is immediately available in the Category drop down list when you create or edit an action. But you haven't yet defined on which tab it should be available.

Use Your New Category on the Custom Tab of a Document

To use your new category on a custom tab:

  1. Create a new tab (Listing & Views > Tabs).
  2. Define the structure of your tab, and, in the appropriate cell, drag and drop the Toolbar actions widget.
  3. Click on the icon  of the widget to edit it.
  4. In the Category list, select your new category.
  5. Click on the Save button. The new action location is saved and you can now create links and buttons to be displayed there.

 


5 days ago manonlumeau NXDOC-1346-FT review screenshot
a year ago Manon Lumeau 18
2 years ago Solen Guitter 17 | Fix Studio menu label
2 years ago Manon Lumeau 16
3 years ago Solen Guitter 15
3 years ago Anahide Tchertchian 14
3 years ago Solen Guitter 13
3 years ago Solen Guitter 12
3 years ago Anahide Tchertchian 11
4 years ago Solen Guitter 10
4 years ago Solen Guitter 9
4 years ago Solen Guitter 8 | Added excerpt, formatting
6 years ago Solen Guitter 6 | Added related tutorials
6 years ago Solen Guitter 7 | Migrated to Confluence 4.0
6 years ago Solen Guitter 5
6 years ago Solen Guitter 4
6 years ago Solen Guitter 3
6 years ago Solen Guitter 2
6 years ago Solen Guitter 1
History: Created by Solen Guitter