---
title: "Model-driven setup · Org Chart docs · Ninth Forge"
url: https://ninthforge.com/docs/org-chart/model-driven
description: "Show a Dataverse view as an org chart in a model-driven app, on your own table, on Users by manager or on Accounts by parent account."
---

# Model-driven setup

To use the Org Chart in a model-driven app, add **Ninth Forge Org Chart** as the component of a view, then map your columns. It works on your own table, on **User** (by Manager) and on **Account** (by Parent account). Moves save straight to Dataverse with each user’s own permissions.

## What your table needs

One row per person or position. The row’s primary name column is the name on the card.

| Column | Type | Required |
| --- | --- | --- |
| Reports to | Lookup to the **same** table | Yes. Rows with no manager, or a manager outside the view, are tops of the chart. |
| Title | Text | No. The card’s second line. |
| Department | Choice or text | No. Shown on the card; a choice’s own colour becomes the card’s stripe. |
| Photo | Image column, or text holding a URL | No. Missing or broken photos show initials. |
| Vacant | Yes/No | No. Vacant positions get their own style and count in Insights. |
| Value | Whole number, decimal or currency (cost, FTE) | No. Only summed or averaged in Insights, never shown per person. |
| Detail 1–3 | Any column | No. Extra lines on **Detailed** cards. |
| User | Lookup to **User** | No. Lets **My position** find the signed-in user on your own table. On the User table itself it works without this. |
| Sort order | Number | No. Order among colleagues; the rest go by name. |

## Add it to a view

1.  In [Power Apps](https://make.powerapps.com), open your solution, then your table, then **Views**. Open the view to show as a chart.
    
2.  Make sure the view includes every column you’ll map, and that its filter returns everyone you want on the chart: it loads every page of the view.
    
3.  Select **Components**, then **\+ Add a component**, then **Ninth Forge Org Chart**. (In the classic view editor it’s **Custom Controls**, then **Add Control**.)
    
4.  In **Edit Ninth Forge Org Chart**, map the columns under **People** and set the options (see below). Under **Show component on**, tick **Web**, and **Mobile** and **Tablet** if you like. Select **Done**, then **Save**.
    
    ![The Edit Ninth Forge Org Chart panel in the view designer: under People, Reports to is mapped to Reports to (Lookup), Title to Title (Text), Group to Department (Choice) and Vacant to Vacant (Yes/No).](/docs-media/org-chart/model-driven-components.webp)
    
5.  Select **Save and publish**.
    

Open the app and pick the view: the rows show as an org chart.

![The Harbourline Group view as an org chart: Ava Abbott, Group CEO, at the top with 292 people under her, then her direct reports and their teams, each card with a coloured department stripe.](/docs-media/org-chart/model-driven-view.webp)

**Users by manager:** use a view of **User** and map **Reports to** to **Manager**, and **Photo column** to `entityimage`. **Accounts:** use a view of **Account** and map **Reports to** to **Parent account**.

## Map columns and settings

The view designer shows each setting by its full label, such as **Reports to (lookup to the same table)**, and lists the choices by their value names, such as **td**, as below.

| Setting | What it does |
| --- | --- |
| Reports to, Title, Group, Vacant, Value, Photo, Detail line 1–3, User, Sort order | The columns to read. Reports to is also the column a move writes. |
| Photo column | The name of an image column, such as `nf_photo`, or `entityimage` on User. Use it instead of Photo for image columns. |
| Title | The chart’s name in its toolbar. |
| Layout | **td** (top down) or **lr** (left to right). |
| Stack teams in columns | On by default: reports without their own teams stack under their manager. |
| Cards | **standard**, **compact**, or **detailed** (with the detail lines). |
| Levels open at first | Default 2. |
| Open as | **chart** or **table**. |
| Allow moving people | **auto** (on for your own tables, off on User, where managers often come from HR or Entra), **yes** or **no**. Needs a Plan or Suite licence. |
| Save mode | Leave on **auto**. It saves straight to Dataverse. |
| Open records in | **panel** (a side panel) or **fullPage**. |
| Show Insights, Name of the value in Insights, Value in Insights | The Insights panel, what to call the value, and **sum** or **average**. |
| Allow print and image | Print and PNG export. |
| Theme, Accent colour | **light** or **dark**; a hex colour such as `#0F766E`. |
| Text size (%), Text sizes by role | Bigger or smaller text; cards grow to fit. |
| Licence key | A Ninth Forge Plan or Suite key, only needed to move people. Leave empty to use the **Ninth Forge licence keys** environment variable. |

## Permissions

The chart uses the signed-in user’s Dataverse permissions. Anyone who can read the rows can browse, search, use Insights and print. With moving on, a user who can’t write the Reports to column gets a clear message, and the card goes back where it was.

Last updated 7 November 2026
