How to design a Tab in Admin Center, in Management Tab ?

I would like to add a tab in Admin Center and in Management tab sub tab list.

How can I do that in Studio?

1 votes

1 answers

2580 views

ANSWER



In Studio, In Settings and Versionning > Action Category copy this:

  {
    action_categories : {
    NUXEO_ADMIN : {
      "label" : "Admin Center",
      "type" : "tab",
    },
    TAB_MANAGE_sub_tab : {
      "label" : "Management",
      "type" : "tab",
    },
  }
 }
  • Create a Tab in Tab designer in Studio

  • Select the category for the tab Management or Admin Center. The tab will be localized where you want.

2 votes



Hi Benjamin, this is fine except that the root loads instead of the Admin tab, once you click that tab in the menu. It takes this path: :8080/nuxeo/nxpath/default@view_admin?tabIds=MAIN_TABS%3Aadmin&conversationId=0NXMAIN instead of this path: :8080/nuxeo/nxadmin/default@view_admin?tabIds=MAIN_TABS%3Aadmin&conversationId=0NXMAIN (note nxpath vs nxadmin). Is there a way around that?

  • ah I found it, need this: <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions"> <action id="MyTab" link="/studio_tabs/studio_tab_MyTab.xhtml" label="MyTab" order="50" type="admin_rest_document_link"> <category>USER_CENTER</category> </extension>
11/17/2015