A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.
Workflow Log
Phase 1 — Planning
Commands Run
node --version
v20.18.2
pac help
PAC CLI Version 2.11.0+g06bb2eb (.NET 10.0.8) — version > 2.10.0 confirmed.
pac auth list
Index Active Kind Name User Cloud Type Environment Environment Url
[1] UNIVERSAL [email protected] Public OperatingSystem
[2] UNIVERSAL [email protected] Test User FabrikamEnv001 https://fabrikamenv001.crmtest.dynamics.com/
[3] * UNIVERSAL [email protected] Test User ContosoBAPEnv0001 https://contosobapenv0001.crmtest.dynamics.com/
AskUserQuestion: "Multiple auth profiles found. Which environment would you like to use?" → [3] [email protected] — ContosoBAPEnv0001 (currently active)
pac model list-languages
Found 1 enabled language(s): English (United States) LCID 1033 — no localization needed.
pac model list-tables --search 'task'
Found 5 table(s). Exact match check: task (Logical Name == 'task') → exists as Standard table. Result: task entity EXISTS — no creation needed.
pac model list-tables
Found 1728 table(s). Custom prefix analysis (non-system prefixes): mspp=36 (36%), msfp=20 (20%), msdyncrm=18 (18%) — no prefix meets >=50% threshold with >=3 tables. No dominant prefix detected. Fallback: detectedPrefix=none, Solution=Default, Publisher Prefix=new.
pac model list
Found 20 model-driven app(s).
AskUserQuestion: "20 model-driven apps found. Which app should the task board page be added to?" → Genpage Publish Test (genpage_publish_test_2761b0b1, App ID: 3fc905b9-7854-f111-a821-70a8a59ce7bc)
AskUserQuestion: "Any specific styling or feature requirements for the task board?" → All of the above (priority color coding, due date display, owner display on cards)
Solution selection: Code-only flow (existing entities + existing app) — skipping solution question. Writing Solution: Default / Publisher Prefix: new.
EnterPlanMode called User response: approved
Decisions
- Working environment: ContosoBAPEnv0001 (https://contosobapenv0001.crmtest.dynamics.com/)
- Languages: English (1033) only
- Entity status: task — exists (Standard table), no creation required
- App: Genpage Publish Test (3fc905b9-7854-f111-a821-70a8a59ce7bc)
- Solution: Default / Publisher Prefix: new (code-only flow)
- Pages: 1 (task-board.tsx — Kanban board with native HTML5 DnD)
- Sample referenced: 11-kanban-with-dnd.tsx
- Plan written to: D:/temp/task-board/genpage-plan.md
Phase 0 — Working directory
mkdir -p D:/temp/task-board→ created- Working directory:
D:/temp/task-board
Phase 0.5 — Local-dev manifest
- Command:
node ".../generate-page-manifest.js" "D:/temp/task-board" task-board - Result: wrote
package.jsonandgenpage.d.ts(no extra features — no charts/datepicker/timepicker needed)
Phase 2 — Entities
Skipped — task Standard entity confirmed to exist in ContosoBAPEnv0001.
Phase 3 — App selection
Existing app: Genpage Publish Test (3fc905b9-7854-f111-a821-70a8a59ce7bc). pac model create not invoked.
Phase 4 — RuntimeTypes
- Command:
pac model genpage generate-types --data-sources "task" --output-file "D:/temp/task-board/RuntimeTypes.ts" - Result: success —
D:/temp/task-board/RuntimeTypes.tswritten - Critical finding: planner's statuscode mapping was incorrect. RuntimeTypes shows:
"Not Started" = 2→ To Do column (planner said 1)"In Progress" = 3→ In Progress column (planner said 2)"Completed" = 5→ Done column (correct)- Priority: Low=0, Normal=1, High=2 — no "Critical" (planner's plan was wrong)
owneridnot in schema — excluded from select
Phase 5 — Build (single-page fast path)
- Read
references/rules.md - Read
samples/11-kanban-with-dnd.tsx - Read
references/data-caching.md(Needs caching: true) - Wrote
D:/temp/task-board/task-board.tsx - Icon verification: ClipboardTaskRegular (line 1163), PlayRegular (line 3394), CheckmarkCircleRegular (line 1013) — all verified.
- Key implementation decisions:
- Status mapping corrected to actual RuntimeTypes values: TO_DO=2, IN_PROGRESS=3, DONE=5
statecodealso updated on drop (0=Open for columns 2/3, 1=Completed for column 5) — Dataverse business rule- Module-level
_taskCacheinitialized fromwindow.__ppTaskCache(list page caching pattern) - Single batched
{ tasks, loading, error }state object — no intermediate renders shorthandsimported; usedoutlineWidth/outlineStyle/outlineColorseparately incolumnOverto avoid Griffel shorthand errors- Native HTML5 drag-and-drop: onDragStart, onDragOver+preventDefault, onDrop, onDragEnd, onDragLeave
mergeClassesfor conditional card/column class application (no template literal concatenation)
Phase 6 — Deploy
- Command:
pac model genpage upload --app-id 3fc905b9-7854-f111-a821-70a8a59ce7bc --code-file D:/temp/task-board/task-board.tsx --name "Task board" --data-sources "task" --prompt "Build a task management board with columns for To Do, In Progress, and Done. Use the task entity. Allow dragging tasks between columns." --model "claude-opus-4-7" --agent-message "Kanban board with 3 columns (To Do=statuscode 2, In Progress=3, Done=5). Native HTML5 DnD; drop persists statuscode+statecode via dataApi.updateRow with optimistic UI and rollback. Window cache __ppTaskCache. Priority badges (Low/Normal/High) and scheduledend due date on each card." --add-to-sitemap - Result: page-id =
e2a6f1e4-89b1-41b5-b75a-ab90b7267eac, status = success (transpilation OK, project published, added to sitemap) add-table-to-app.js: script not present in this plugin version — step skipped.
Phase 7 — Browser verification
AskUserQuestion: "Would you like to verify the task board in the browser using Playwright?" → Skip verification
Phase 8 — Summary
| Page | File | Entities | Status |
|---|---|---|---|
| Task board | task-board.tsx | task | Deployed (page-id e2a6f1e4-89b1-41b5-b75a-ab90b7267eac) |
- App: Genpage Publish Test (
3fc905b9-7854-f111-a821-70a8a59ce7bc) - Entities created: none
- Browser verification: skipped