---
id: post/yzhums-com/75704
type: post
title: "Dynamics 365 Business Central: Building a Custom Tree Navigation Menu with Control Add-in"
summary: Building a custom tree navigation menu in Business Central using a Control Add-in with JavaScript and CSS. This approach enables users to organize pages, reports, XMLports, and queries in a grouped tree view with search and custom icons, configured through a standard AL setup page.
tier: community
language: en
tags:
  - control add-in
  - tree navigation
  - custom menu
  - javascript
  - user interface
  - role center
system: development
review:
  state: reviewed
  by: opus
  at: "2026-12-05T01:02:19.242Z"
  flags: []
generated:
  at: "2026-12-05T00:13:03.967Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: 751e389a4b9ae4d0e83eadccb0e735f463155ef6a5347d2d2ef5c4968928b924
evidence:
  - kind: blog
    url: https://yzhums.com/75704/
    title: "Dynamics 365 Business Central: Building a Custom Tree Navigation Menu with Control Add-in"
    date: "2026-12-04"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: https://yzhums.com/75704/
    title: "Dynamics 365 Business Central: Building a Custom Tree Navigation Menu with Control Add-in"
    date: "2026-12-04"
    commit: null
    t: null
    quote: Some business scenarios require a clean, consolidated tree menu where users can quickly access pages, reports, and data lists with custom grouping and icons.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
post_id: "75704"
source_id: yzhums-com
source_name: Dynamics 365 Lab - Yun Zhu
url: https://yzhums.com/75704/
published_at: "2026-12-04T00:18:44.000Z"
author: Yun Zhu
full_text: false
words: 396
quotes:
  - text: Some business scenarios require a clean, consolidated tree menu where users can quickly access pages, reports, and data lists with custom grouping and icons.
    why_it_matters: Explains the business need and use case that motivates this custom solution beyond standard Role Centers
code_objects_mentioned:
  - table Classic Menu Config
systems:
  - development
  - platform
versions_mentioned: []
preview:
  embeddable: true
  frame_url: null
  image: https://yzhums.com/wp-content/uploads/2026/09/Snipaste_2026-09-03_15-41-04.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: Dynamics 365 Lab
  favicon: https://yzhums.com/wp-content/uploads/2020/08/cropped-logo-3-32x32.png
  probed_at: "2026-12-05T00:59:25.625Z"
---

# Dynamics 365 Business Central: Building a Custom Tree Navigation Menu with Control Add-in

[Read the post](https://yzhums.com/75704/) · Dynamics 365 Lab - Yun Zhu (Yun Zhu, MVP) · 2026-12-04 · 396 words · tier community · reviewed (checked by Opus)

> Building a custom tree navigation menu in Business Central using a Control Add-in with JavaScript and CSS. This approach enables users to organize pages, reports, XMLports, and queries in a grouped tree view with search and custom icons, configured through a standard AL setup page.

## Key points

- Tree view layout with expand/collapse support and custom icons for menu organization
- Supports running multiple object types: pages, reports, XMLports, and queries
- Built-in search and filter functionality for quick menu item access
- Configuration stored in an AL table with an easy lookup interface
- Control Add-in uses JavaScript and CSS for responsive web client rendering

## Quotes

- "Some business scenarios require a clean, consolidated tree menu where users can quickly access pages, reports, and data lists with custom grouping and icons." (Explains the business need and use case that motivates this custom solution beyond standard Role Centers)

## AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

- table "Classic Menu Config"

Not found in BC28-30: table "Classic Menu Config".

## Context

- Features: Tree View Layout, Custom Icons, Multiple Object Types, Filter & Search, Easy Configuration, MenuItemSelected event, OnLookup object selection, Role Center integration

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
