Menus - Reports Context

The reports-context key defines the left-hand menu options for the Reports pages.

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

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

Default Configuration

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

{
    "reports-context": {
        "items": [{
            "key": "project/reports",
            "title": "Reports",
            "order": 1000,
            "header": true,
            "items": []
        }]
    }
}

Example - Add a New Menu Item

We can add a new menu option under the Reports menu like this:

{
    "reports-context": {
        "items": [{
            "key": "project/reports",
            "items": [{
                "key": "project/reports/customreport",
                "title": "Custom Report",
                "uri": "#/projects/{projectId}/reports/customreport",
                "iconClass": "fa fa-someicon"
            }]
        }]
    }
}