InstructionMITv1.0.0awesome-copilot

Code Components for Model-Driven Apps

Code components for model-driven apps implementation and configuration

At a glance

Kind
Instruction · Ananke prompt
Reference
awesome-copilot/pcf-model-driven-apps · ananke://prompt/awesome-copilot/pcf-model-driven-apps@1.0.0
Applies to
**/*.{ts,tsx,js,json,xml,pcfproj,csproj}
Files
1 · 2.8 KB
How it's used
Instructions apply automatically to files matching their applyTo glob in GitHub Copilot. For Claude Code, reference the file from CLAUDE.md.

Where it fits

Task
Implement a feature
Lifecycle phase
Implementation
Role
Developer
Platform
Ananke PlexusGitHub Copilot
Needs
Nothing (text only)

Facets suggested from the item's own text and tags, not yet reviewed. Facets say where an item is relevant, not that it will run in your setup. How facets work

Checked by Dex

Verified, not self-reported: dex-trove 0.3.16 installed this item into each layout and checked that the tool can load it. Dex collects no download or usage data.

  • GitHub Copilot ✓ loads

Upstream metadata

Self-reported by the item's author; Dex shows it as written.

applyTo**/*.{ts,tsx,js,json,xml,pcfproj,csproj}

Documentation

View upstream ↗
Contents

Power Apps component framework gives developers the ability to extend the visualizations in model-driven apps. Professional developers can create, debug, import, and add code components to model-driven apps using Microsoft Power Platform CLI.

Component Usage

You can add code components to:

  • Columns
  • Grids
  • Sub grids

in model-driven apps.

Important: Power Apps component framework is enabled for model-driven apps by default. See Code components for canvas apps to learn how to enable Power Apps component framework for canvas apps.

Implementing Code Components

Before you start creating code components, make sure that you have installed all the prerequisites that are required to develop components using Power Apps component framework.

The create your first code component article demonstrates the step-by-step process to create code components.

Add Code Components to Model-Driven Apps

To add code components to a column or a table in model-driven apps, see Add code components to model-driven apps.

Examples

Linear Slider Control:

Add linear slider control

Data Set Grid Component:

Data Set Grid component

Update Existing Code Components

Whenever you update the code components and want to see the changes in runtime, you need to bump the version property in the manifest file.

Best Practice: It is recommended to always bump the version of the component whenever you make changes.

See Also