Announcements
Hi RahulShah,
Yes, it is technically possible to implement a tree structure within a FactBox in Business Central, but it requires a custom control add-in. The standard FactBox framework doesn't natively support hierarchical or tree views, so you'll need to build or integrate a control that can render this kind of UI.
Create a JavaScript Control Add-in Develop a custom control add-in using JavaScript and HTML that renders a tree view. You can use libraries like jsTree or TreeView from Syncfusion to simplify development.
Integrate the Add-in into a FactBox Once the control add-in is ready, you can embed it into a FactBox on your page using AL code. The add-in can receive data from AL and render it dynamically.
Pass Hierarchical Data Structure your data in AL to represent the tree hierarchy and pass it to the control add-in using the SetData method or similar.
SetData
Reference Implementation While there’s no out-of-the-box example from Microsoft, you might find community samples or GitHub repositories showcasing similar implementations. If you’d like, I can help you find one or guide you through building it.
If this answer was helpful, please consider marking it as accepted. Best regards, Daniele
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,371 Super User 2026 Season 1
YUN ZHU 1,806 Super User 2026 Season 1
AndrewThomas81 1,371