Example - adding the navbar item inside existing groups - Example - adding the navbar item inside existing groups - Alfresco - Alfresco Digital Workspace - Alfresco/Alfresco-Digital-Workspace/6.0/Alfresco-Digital-Workspace/Develop/Build-extensions/Create-your-first-ADW-extension/Add-a-new-page/Example-adding-the-navbar-item-inside-existing-groups - 6.0 - 6.0

Alfresco Digital Workspace

Platform
Alfresco
Product
Alfresco Digital Workspace
Release
6.0
License
ft:lastPublication
2025-10-15T22:17:23.874000
ft:locale
en-US

Adding an item in an existing group requires matching an id . In the following example, you can see the IDs required for the Files and Workflow sections:

A screenshot showing the example IDs.
"features": {
  "navbar": [
    {
      "id": "app.navbar.primary",
      "items": [
        {
          "id": "app.navbar.menu",
          "children": [
            {
              "id": "app.navbar.hello2",
              "title": "Hello in Content Group",
              "route": "app.route.my-unique-route-id",
              "description": "Hello World inside File",
              "order": 90,
              "rules": {
                "visible": "app.content-services.isEnabled"
              }
            }
          ],
          "description": "Hello World",
          "rules": {
            "visible": "app.content-services.isEnabled"
          }
        }
      ]
    }
  ]
}

Inside each group, the order of the element is controlled by the order attribute.