---
title: "Model-driven setup · Scheduler docs · Ninth Forge"
url: https://ninthforge.com/docs/scheduler/model-driven
description: "Show a Dataverse bookings view as a resource scheduler in a model-driven app, map your columns and point it at your resources."
---

# Model-driven setup

To use the Scheduler in a model-driven app, add **Ninth Forge Scheduler** to a view of your bookings table. Map its start, end and resource columns, and point its second data set at a view of your resources table. Edits save straight to Dataverse with each user’s own permissions.

## What your tables need

**Bookings** (one row per booking, shift, hire or job):

| Column | Type | Required |
| --- | --- | --- |
| Start, End | Date and time. “User local” or “Time zone independent”; both are handled. | Yes |
| Resource | Lookup to your resources table. Empty means unassigned. | Recommended |
| Status | Text or choice. Confirmed, Booked and Scheduled show solid; Tentative and Proposed dashed; Done and Completed faded; Cancelled struck through. | No |
| Type | Text, choice or **yes/no**. Values like Unavailable, Leave, Maintenance, Closed or Blocked, or a yes, mark unavailable time. | No |
| All day, Location, Attendees, Subtitle, Colour (hex) | Yes/no, text, number, text, text | No |

**Resources** (one row per person, room, vehicle or asset). The Scheduler reads these columns from the resources view by name:

| What | Found automatically when the column’s logical name ends in… | Or set |
| --- | --- | --- |
| Group | group, team, location, depot, category, area | Resource group column |
| Second line | subtitle, role, jobtitle, rego, assetid | Resource subtitle column |
| Capacity (hours a day) | capacityhours, capacity | Resource capacity column |
| Seats (rooms) | seats | Resource seats column |
| Working hours | workstart, workend (decimal hours like 8.5, or “08:30”) | Resource work start / end column |
| Colour, sort order | colour or color, sort or sortorder | Resource colour / sort column |

Without a resources view, the Scheduler shows only the resources your bookings point at: no unbooked people, groups or capacity.

## Add it to a view

1.  In [Power Apps](https://make.powerapps.com), open your solution, then your bookings table, then **Views**. Open the view to show as a schedule, for example “Active bookings”. Include every column you’ll map.
    
2.  Select **Components**, then **\+ Add a component**, then **Ninth Forge Scheduler**. (In the classic view editor it’s **Custom Controls**, then **Add Control**.)
    
3.  In **Edit Ninth Forge Scheduler**, under **Bookings**, map **Start**, **End** and **Resource (empty = unassigned)**, plus any of the optional columns.
    
    ![The Edit Ninth Forge Scheduler panel in the view designer: under Bookings, Start and End are mapped to date and time columns, Resource to a lookup, and Status, Type and All day to their columns.](/docs-media/scheduler/model-driven-components.webp)
    
4.  Under **Resources (a view of the resource table)**, pick your resources **Table**, then its **View**, for example “Active resources”. It sets the rows, their order, and their groups, second lines and capacity. Without it, the Scheduler shows only the resources your bookings point at, without groups or capacity.
    
5.  Choose a **Scenario** and the other settings (see below). Under **Show component on**, tick **Web**, and **Mobile** and **Tablet** if you like. Select **Done**, then **Save**.
    
6.  Select **Save and publish**.
    

Open the app and pick the view: the bookings show as a schedule.

![The Staff roster view in a model-driven app as a week of shifts: people grouped by team with their hours against 40, early and late shifts as bars, and a week of annual leave as a striped block.](/docs-media/scheduler/model-driven-view.webp)

The Scheduler loads only the dates on screen (plus a margin) and fetches more as you move, so very large tables stay fast. The view’s title shows an asterisk while it’s filtered; that’s normal.

## Settings

| Setting | What it does |
| --- | --- |
| Scenario | Staff rosters, Rooms, Vehicles, Equipment, Field jobs or Custom. Sets the words (people, rooms, hires…), default view, snapping, overlap rule and working hours. |
| Title | The board’s name in its toolbar. |
| Default view | Day, Week, Two weeks, Month or Agenda, or **From the scenario**. Phones and narrow panes always start in Agenda. |
| Overlapping bookings | **Allow**, **Allow with a warning** or **Block** (refuses the move and says why), or from the scenario. |
| Snap to (minutes) | Where drags land, e.g. 15 or 60. 0 uses the scenario’s. |
| Theme, Accent colour (hex) | **Light** or **Dark**, and a hex accent for bars and highlights. Text on bars stays readable whatever you pick. |
| Text size (%), Text sizes by role | Bigger or smaller text, 75 to 200. See [Properties](https://ninthforge.com/docs/scheduler/properties#text-size) and [Make text bigger for a wall display](https://ninthforge.com/docs/scheduler/how-to/wall-display). |
| Licence key | Your Ninth Forge Plan key. Leave it empty to use the **Ninth Forge licence keys** environment variable. If the board still says “Unlicensed”, see [Help](https://ninthforge.com/docs/help#ninth-forge--unlicensed-shows). |
| Resource … column | Column names for the resources view, when the automatic match isn’t right (see above). |
| Allow editing | Drag to move, resize and assign. Users still need write access to the table. |
| Allow creating | Drag across empty time to open your quick create form, prefilled. |
| Save mode | Leave on **Auto**: model-driven apps save directly. |
| Open bookings in | Where Enter or double-click opens a booking: **Side panel** or **Full page**. |

**Scenario defaults:**

| Scenario | View | Snap | Overlaps | Working hours | Capacity a day |
| --- | --- | --- | --- | --- | --- |
| Staff rosters | Week | 30 min | Warn | 09:00–17:00 | 8 h |
| Rooms | Day | 15 min | Block | 08:00–18:00 | 10 h |
| Vehicles | Two weeks | 60 min | Block | 07:00–17:00 | 10 h |
| Equipment | Two weeks | 60 min | Block | 07:00–17:00 | 10 h |
| Field jobs | Day | 15 min | Warn | 07:30–16:00 | 8 h; Unassigned panel open |

A resource’s own working hours and capacity override these.

## Creating bookings

Dragging across empty time on a row opens **your bookings table’s quick create form**, with the resource, start and end filled in. Make a quick create form for the table if it doesn’t have one, and turn on **Allow quick create** in the table’s properties. The board refreshes when the form closes.

## Dates and time zones

-   **User local** columns show in each user’s Dataverse time zone (Personal settings).
-   **Time zone independent** columns show exactly the clock time that’s stored, for everyone, and moves are saved that way too. A hire stored as 07:00 shows at 07:00 in Perth and in London.
-   **Date only** columns can’t be mapped to Start and End, because bookings need times. For whole-day bookings, map a yes/no column to **All day**.

## Permissions

The Scheduler uses the signed-in user’s permissions. Without write access to the bookings table it’s read-only; without create access, drag-to-create is off.

Last updated 7 November 2026
