Stage 8 of 17

Stage 8 of 17

Build

Model-Driven App creation, Sitemap with 6 groups, customised views and forms for all 9 tables, subgrids for related records, and 2 business rules.

Note

A Model-Driven App does not require you to build screens from scratch. You configure views (list screens) and forms (detail screens) by selecting which columns to show and how to arrange them. The app generates the UI automatically. Your job in this stage is to make the generated UI useful — not to build it pixel by pixel.

Build Steps

1

Create the Model-Driven App

  1. 1.In the DToDApplicationPortfolio solution, select New → App → Model-driven app.
  2. 2.Name: DToD Application Portfolio. Description: Enterprise application portfolio management system for Contoso Services Ltd.
  3. 3.Select Create. The app designer opens.
  4. 4.You will see a blank canvas with a navigation panel on the left. This is where you build the Sitemap.

Design Note

The app designer in make.powerapps.com uses a modern interface. If you see an older "classic" designer, select Switch to modern app designer at the top. The modern designer is required for the steps below.

2

Build the Sitemap — Navigation Structure

  1. 1.In the app designer, select Navigation on the left panel.
  2. 2.You will see a default Area. Rename it: Display name: Portfolio Management.
  3. 3.Inside Portfolio Management, add Groups and Sub-areas as follows:
  4. 4.Group 1: Applications. Sub-areas: Applications (table: Application), Technologies (table: Technology).
  5. 5.Group 2: Suppliers & Contracts. Sub-areas: Suppliers (table: Supplier), Contracts (table: Contract).
  6. 6.Group 3: Integrations. Sub-areas: Integrations (table: Integration).
  7. 7.Group 4: Risks. Sub-areas: Risks (table: Risk).
  8. 8.Group 5: Owners. Sub-areas: Business Owners (table: Business Owner), Technical Owners (table: Technical Owner).
  9. 9.Group 6: Support. Sub-areas: Support Models (table: Support Model).
  10. 10.Select Save, then Publish.

Design Note

The Sitemap controls what users see in the left navigation of the app. A well-structured Sitemap makes the app intuitive. Group related tables together — do not put all tables in one flat list.

3

Customise the Application View

  1. 1.In the solution, find the Application table. Select Views.
  2. 2.Open the Active Applications view (this is the default view shown when users open the Applications section).
  3. 3.Add columns to the view: Application Name, Application Type, Status, Business Criticality, Business Owner, Technical Owner, Date Added.
  4. 4.Set the sort order: Status (Ascending), then Business Criticality (Ascending).
  5. 5.Select Save and Publish.
  6. 6.Create a new view: Missing Owner. Filter: Business Owner is empty OR Technical Owner is empty. Columns: Application Name, Application Type, Status, Business Owner, Technical Owner.
  7. 7.Create a new view: By Business Criticality. Sort: Business Criticality (Ascending). Columns: Application Name, Status, Business Criticality, Application Type, Technical Owner.

Design Note

The default view is what users see first. Make it useful — show the most important columns and sort by the most useful field. The Missing Owner view is a governance tool — it surfaces data quality issues.

4

Customise the Application Form

  1. 1.In the Application table, select Forms. Open the Main form (this is the form users see when they open an Application record).
  2. 2.The form designer opens. You will see a default layout with some columns already placed.
  3. 3.Organise the form into sections using the Section component:
  4. 4.Section 1 — Application Details: Application Name, Description, Application Type, Status, Hosting, Date Added.
  5. 5.Section 2 — Ownership: Business Owner, Technical Owner.
  6. 6.Section 3 — Strategic Assessment: Business Criticality, Strategic Fit Score, Strategic Fit Rationale, Technical Debt Score, Technical Debt Rationale, Rationalisation Category.
  7. 7.Add a Tab below the sections for Related Records. Inside the tab, add Subgrids:
  8. 8.Subgrid 1: Contracts (related table: Contract, relationship: Application). Show: Contract Name, Supplier, Contract Value, End Date, Days to Renewal.
  9. 9.Subgrid 2: Integrations (related table: Integration, relationship: Source Application). Show: Integration Name, Target Application, Integration Type, Criticality.
  10. 10.Subgrid 3: Technologies (related table: Technology). Show: Component Name, Component Type, Version, EOL Date, EOL Status.
  11. 11.Subgrid 4: Risks (related table: Risk). Show: Risk Title, Risk Category, Risk Score, Mitigation Status, Next Review Date.
  12. 12.Subgrid 5: Support Model (related table: Support Model). Show: Support Type, Support Contact Name, SLA P1 Response, Out of Hours Support.
  13. 13.Select Save and Publish.

Design Note

Subgrids are the most powerful feature of Model-Driven App forms. They show related records inline — so when you open a Salesforce CRM record, you immediately see all its contracts, integrations, technologies, risks, and support model without navigating away. This is the integration dependency map that prevented the £30,000 incident.

5

Customise the Contract View and Form

  1. 1.In the Contract table, open the Active Contracts view. Add columns: Contract Name, Application, Supplier, Contract Value, End Date, Days to Renewal, Auto-Renewal, Status.
  2. 2.Sort by Days to Renewal (Ascending) — contracts approaching renewal appear at the top.
  3. 3.Create a new view: Contracts Approaching Renewal. Filter: Days to Renewal is less than or equal to 90 AND Status = Active. Same columns as Active Contracts.
  4. 4.Open the Main form. Sections: Contract Details (Contract Name, Application, Supplier, Contract Value, Status), Dates & Terms (Start Date, End Date, Notice Period, Auto-Renewal, Days to Renewal), Ownership (Contract Owner).
  5. 5.Save and Publish.

Design Note

The Contracts Approaching Renewal view is a critical governance tool. Helena Marsh (Finance Director) should check this view weekly. The Contract Review Reminder flow automates the notification, but the view provides the full picture.

6

Customise the Risk View and Form

  1. 1.In the Risk table, open the Active Risks view. Add columns: Risk Title, Application, Risk Category, Likelihood, Impact, Risk Score, Mitigation Status, Next Review Date.
  2. 2.Sort by Risk Score (Descending) — highest risks appear at the top.
  3. 3.Create a new view: High Risk. Filter: Risk Score is greater than or equal to 15. Same columns.
  4. 4.Create a new view: Risks Due for Review. Filter: Next Review Date is on or before [Today + 14 days]. Columns: Risk Title, Application, Risk Score, Mitigation Status, Next Review Date, Risk Owner.
  5. 5.Open the Main form. Sections: Risk Details (Risk Title, Application, Risk Category, Risk Description), Risk Scoring (Likelihood, Impact, Risk Score — read-only calculated), Mitigation (Mitigation, Mitigation Status, Risk Owner, Next Review Date).
  6. 6.Save and Publish.

Design Note

Risk Score is a calculated column — it appears on the form as read-only. Users set Likelihood and Impact; the score calculates automatically on save. Make this clear in user training.

7

Customise the Technology View and Form

  1. 1.In the Technology table, create a view: Past EOL. Filter: EOL Status = Past EOL. Columns: Component Name, Application, Component Type, Version, EOL Date, Replacement Plan.
  2. 2.Create a view: Approaching EOL. Filter: EOL Status = Approaching EOL. Same columns.
  3. 3.Open the Main form. Sections: Component Details (Component Name, Application, Component Type, Version), EOL Information (EOL Date, EOL Status, Replacement Plan).
  4. 4.Save and Publish.

Design Note

The Past EOL view is a security governance tool. Any component with EOL Status = Past EOL is receiving no security patches and represents an active risk. This view should be reviewed monthly by the IT Team Lead.

8

Add Business Rules

  1. 1.In the Application table, select Business rules. Create a new business rule:
  2. 2.Rule name: Require Strategic Fit Rationale when Score is set.
  3. 3.Condition: Strategic Fit Score is not empty.
  4. 4.Action: Set Strategic Fit Rationale as Business Required.
  5. 5.Save and Activate.
  6. 6.Create a second business rule on the Risk table:
  7. 7.Rule name: Flag High Risk Score.
  8. 8.Condition: Risk Score is greater than or equal to 15.
  9. 9.Action: Show error message: "This risk has a score of 15 or above. It must be escalated to the IT Team Lead."
  10. 10.Save and Activate.

Design Note

Business rules in Dataverse run on the form — they fire when a user is editing a record, before the record is saved. They are not the same as Power Automate flows, which run after a record is saved. Use business rules for immediate form-level validation. Use flows for notifications and multi-record operations.

Why Are We Doing This?

The subgrids on the Application form (Step 4) are the most important feature of this app. When Priya Mehta opens the Salesforce CRM record, she sees all its contracts, integrations, technologies, risks, and support model on one screen. This is the integration dependency map that the 2025 CRM/invoicing incident (F-003) proved was missing. A Canvas App could replicate this, but it would require building every gallery and navigation manually. The Model-Driven App generates it from the relationships you defined in the Data stage.

Stage Complete — What You Now Have

  • ✓Model-Driven App created: DToD Application Portfolio
  • ✓Sitemap: 6 groups, 9 sub-areas covering all tables
  • ✓Application form: 3 sections + Related Records tab with 5 subgrids
  • ✓Contract view: sorted by Days to Renewal, Approaching Renewal filter view
  • ✓Risk view: sorted by Risk Score descending, High Risk filter view
  • ✓Technology views: Past EOL and Approaching EOL
  • ✓2 business rules: Require Strategic Fit Rationale, Flag High Risk Score

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project