Menus - Manage Context

The manage-context key defines the left-hand menu options for the platform and project management pages.

To populate the manage-context section, your configuration snippet should look like this:

{
    "manage-context": {
        "items": []
    ]
}

Default Configuration

The default UI configuration for the Platform management pages looks a bit like this:

{
    "manage-context": {
        "items": [{
            "key": "platform/manage",
            "title": "Manage Platform",
            "header": true,
            "order": 90000,
            "allowAuthority": [
                "owner",
                "manager",
                "admin"
            ],
            "items": []
        }]
    }
}

The default configuration for the Project management pages looks a bit like this:

{
    "manage-context": {
        "items": [{
            "key": "project/manage",
            "title": "Manage Project",
            "header": true,
            "order": 90000,
            "allowAuthority": [
                "owner",
                "manager",
                "admin"
            ]
        }]
    }
}

Example - Add a New Menu Item to the Manage Project pages

We can add a new menu option under the Project header by introducing a config block like this:

{
    "manage-context": {
        "items": [{
            "key": "project/manage",
            "items": [{
                "key": "project/manage/custompage",
                "title": "Custom Manage Page",
                "uri": "#/manage/custom",
                "iconClass": "fa fa-custom-manage-icon",
                "allowAuthority": [
                    "manager", 
                    "owner"
                ]            
            }]
        }]
    }
}