pcf-workbench
v1.0.13
Published
Local development emulator for Power Apps Component Framework (PCF) controls
Maintainers
Readme
PCF Workbench
PS D:\GIT\pcf-workbench-private\pcf-workbench-cli> npm version patch v1.0.11 PS D:\GIT\pcf-workbench-private\pcf-workbench-cli> npm publish --access public --//registry.npmjs.org/:_authToken={token}
A local development emulator for Power Apps Component Framework (PCF) controls.
Load, test, and debug PCF controls in an isolated browser environment — no Dataverse deployment needed.
🚀 Quick Start
Run without installing (recommended)
npx pcf-workbenchOr install globally
npm install -g pcf-workbench
pcf-workbenchThis starts the workbench on http://localhost:3000 and opens your browser automatically.
Custom port
npx pcf-workbench 8080CLI Options
| Flag | Description |
|------|-------------|
| --no-open | Don't auto-open the browser |
| --help, -h | Show help |
| --version, -v | Show version |
✨ Features
- 🧩 Load any PCF control (
bundle.js+ manifest) - 🔧 Mock WebAPI with OData filter support
- 📊 API call logging and inspection
- 🎨 Light / Dark theme
- 📝 Monaco editor for mock data
- 🖼️ Resizable panel layout
Requirements
- Node.js 18 or higher
📖 Documentation & Source
Full documentation, architecture details, and sample PCF controls are available on GitHub: https://github.com/moazambadane/pcf-workbench
📜 License
MIT
