In Nuxeo, tabs are actions. Actions are associated with categories. For instance the top links belong to the USER_SERVICES category. The document tabs are associated with the VIEW_ACTION_LIST category.
- To remove a tab you first need to find which action is used to show the tab, finding first the category, then the tab (For the VIEW_ACTION_LIST tabs, it is also shown in the URL as tabId).
- then to remove it, you need to provide a contribution that lists the tab where you can disable it.
For example, if I want to remove the workflow tab:
- click on the workflow tab (in the default Nuxeo DM distribution you can see it in document types like File or Note). If you look at the URL you will see the following parameter tabId=TAB_CONTENT_JBPM, and so the TAB_CONTENT_JBPM will be the action name that you want to remove
- search the source which should result in you finding out that the org.nuxeo.ecm.platform.jbpm.web.actions component provides this action in the (nuxeo-platform-jbpm-web jar).
Now, to override it you can use the following contribution:
Note the enable="false" entry above.
Now it is enough to create a actions-config.xml file in <NUXEO_SERVER>/nxserver/config with this contribution and ... the workflow tab should not be showing anymore.
Labels:
None