Model Driven Apps logo

Model Driven Apps

Community
korchard333
model-driven-apps

Model-Driven Apps Development. Use when: building Model-Driven Apps, forms, views, business rules, site map, command bar customization, custom pages, embedded Canvas Apps, subgrids, role-based form switching, generative pages.

Overview

Publisherkorchard333
Repositoryclaude-power-platform-community
Skill namemodel-driven-apps
Stars
50
Forks
6
Bundled files
16
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 16 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by korchard333 on GitHub. Read the source before you install it.

Installation

Install the Model Driven Apps AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/korchard333/claude-power-platform-community/tree/main/.claude/skills/model-driven-apps
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/korchard333/claude-power-platform-community.git /tmp/claude-power-platform-community
mkdir -p .claude/skills
cp -r /tmp/claude-power-platform-community/.claude/skills/model-driven-apps .claude/skills/model-driven-apps
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Model Driven Apps in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Model Driven Apps on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Model Driven Apps is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Skill: Model-Driven Apps

When to Use

Trigger when building, configuring, reviewing, or troubleshooting Model-Driven Apps — including forms, views, business rules, app modules, site maps, command bar customizations, custom pages, and generative pages.


When to Use Model-Driven Apps vs Alternatives

ScenarioBest ChoiceWhy
Standard Dataverse CRUD + business processModel-Driven AppBuilt-in forms, views, business rules, BPF
Custom pixel-perfect UICode AppFull React/TypeScript control
Mobile field work, offline, cameraCanvas AppPower Apps mobile, offline support
Complex dashboards / analyticsPower BI embedded in MDABetter charting, slicers
High-volume data admin (bulk edit)Model-Driven AppGrid editing, bulk update, advanced find
Citizen developer / quick UICanvas AppNo TypeScript needed

Key MDA strengths: Forms, views, charts, dashboards with zero custom code. Business rules on client and server. Role-based form switching, audit trail, duplicate detection, merge records. Offline mobile via Dynamics 365 mobile app.


App Module (Site Map) Structure

App Module
├── Navigation Groups
│   ├── Group: "Operations" → Subareas (entities)
│   └── Group: "Configuration" → Settings, Users
├── Dashboards
└── Security Roles (who can access this app)

Create App Module via Web API

http
POST /api/data/v9.2/appmodules
Content-Type: application/json

{
  "name": "Contoso Projects",
  "uniquename": "contoso_ProjectsApp",
  "description": "Project management app",
  "clienttype": 4,
  "isdefault": false
}

⚠️ REQUIRED: Load Sub-Files Before Implementation

SKILL.md is a summary only — it is NOT sufficient for implementation.

The detailed content (complete payloads, XML templates, working examples, edge-case handling) lives in sub-files in the same directory as this SKILL.md. Before writing any code, you MUST use read_file on the sub-files relevant to your task:

  • Forms — form types, Quick View, role-based switching, lookup/choice columns, embedded Canvas Apps, form performance
  • Views — view types, Quick Find, subgrids, Power Apps grid control, deprecated Editable Grid, view performance
  • Sitemap — sitemap XML schema, Area/Group/SubArea structure, single Area layout (left-nav vs bottom tabs), Titles format, IntroducedVersion requirement, dashboard navigation
  • Business Rules — scope options (Entity/AllForms/SpecificForm), supported actions, when NOT to use
  • Command Bar — Command Designer (no-code), modern JavaScript commands, Power Fx commands, lookup parameter naming for form pre-population
  • Custom Pages — Custom Pages vs embedded Canvas Apps, creating, navigating to, passing parameters
  • Generative Pages (Genux) — React 17 + Fluent UI V9 single-file components, DataAPI, RuntimeTypes, PAC CLI workflow, localization, sample templates

Microsoft 365 Copilot in Model-Driven Apps (Preview)

Note: The previous "Copilot chat" feature in MDA is deprecated (January 2026) for non-Dynamics 365 environments. Use M365 Copilot instead.

M365 Copilot requires a Microsoft 365 Copilot license. Provides AI-assisted record summarization, data exploration. Works within the MDA shell for D365 and custom MDA apps.


Deprecated & Removed Controls

ControlStatusDateReplacement
Editable GridDeprecatedMarch 2026Power Apps grid control
Hierarchy controlRemovedOctober 2025None (removed entirely)
Classic lookDeprecatedApril 2026Modern look (now default)
Rich Text Editor (classic)DeprecatedApril 2025Modern RTE (default)
Copilot chat (non-D365)DeprecatedJanuary 2026M365 Copilot
Autocomplete controlDeprecated—Standard lookup
Input mask controlDeprecated—Business rules + validation
Multimedia playerDeprecated—Custom PCF / web resource

Naming Conventions

ObjectConventionExample
App module[Publisher] [Domain] AppContoso Projects App
Form[Entity] [Audience] FormProject Admin Form
View (system)[Audience] - [Scope]My - Active Projects
Business rule[Trigger]: [Action]High Priority: Require Due Date
Command[Verb] [Entity]Approve Order
Dashboard[Audience] [Domain] DashboardManager Project Dashboard

ALM for Model-Driven Apps

All MDA configuration lives in solutions:
  - App module (site map), Forms, views, charts, Business rules
  - Command bar customizations, Security role assignments

Export / unpack: pac solution export → pac solution unpack --processCanvasApps true
Forms and views unpack to readable XML — review diffs carefully
Business rules unpack to XAML — treat as opaque, don't edit manually

Anti-Patterns

  • Using Editable Grid in new development (deprecated March 2026 — use Power Apps grid control)
  • Using hierarchy control (removed October 2025)
  • Relying on Copilot chat feature in non-D365 environments (deprecated January 2026)
  • Building Model-Driven Apps outside of solutions ("My Apps")
  • Using JavaScript where a Business Rule suffices (harder to maintain)
  • Business rules with scope "Entity" for UI-only logic (wastes server cycles)
  • More than 7 tabs on a form (unusable cognitive load)
  • Subgrids loading all records without default views (performance)
  • Advanced Find views in production dashboards (personal views break sharing)
  • Mixing managed and unmanaged customizations in the same environment
  • Hardcoded GUIDs in JavaScript form scripts
  • Not setting a Quick Find view (renders lookup search unusable or slow)

Related Skills

  • web-resources — JavaScript form scripts and ribbon customizations
  • canvas-apps — Embedded Canvas Apps in Model-Driven forms
  • dataverse — Underlying table, form, and view design
  • security — Security roles that control form and field visibility

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Model Driven Apps AI skill do?

Model-Driven Apps Development. Use when: building Model-Driven Apps, forms, views, business rules, site map, command bar customization, custom pages, embedded Canvas Apps, subgrids, role-based form switching, generative pages.

Why use Model Driven Apps on TypingMind?

Because you install it once and use it with any model. Model Driven Apps is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Model Driven Apps in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/korchard333/claude-power-platform-community/tree/main/.claude/skills/model-driven-apps. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Model Driven Apps?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Model Driven Apps?

As many as you like. As long as a model supports skills, you can use Model Driven Apps with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Model Driven Apps AI skill free?

Yes. It is published on GitHub by korchard333 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇