A Power Apps Component Framework (PCF) control that renders an interactive org chart for the Position table in Microsoft Dataverse. It is designed to be used inside a Model Driven App — add it to any Position form, type a position name, hit Build Chart, and the control automatically draws the full hierarchy: ancestors above, the selected position highlighted, and all descendants below.
- Renders a hierarchical org chart for the Position table in Dataverse
- Designed for use in Model Driven Apps on a Position form
- Configurable table name, name column, and parent lookup column
- Highlights the selected position and colours its ancestors
- Flexible node boxes that expand to fit long position names
- Scrollable canvas for large org structures
- Integrates directly on a model-driven form via the Custom Controls picker
| Display Name | Internal Name | Type | Usage | Description |
|---|---|---|---|---|
| Position | defaultPositionName |
Single Line Text | Bound | Binds to a form field. Its value pre-fills the search box when the form loads. |
| Entity | tableLogicalName |
Single Line Text | Input | Logical name of the Dataverse table (e.g. position). |
| Position Name | nameColumn |
Single Line Text | Input | Logical name of the column that holds the display name (e.g. name). |
| Position Parent | parentLookupColumn |
Single Line Text | Input | Logical name of the parent lookup column, without the leading _ and trailing _value (e.g. parentpositionid). |
| Artifact | Version |
|---|---|
| PCF Control | 0.0.8 |
| Dataverse Managed Solution | 2.0.1 |
Latest release: Download
poschart.zipfrom the v1.0 Release page — no build tools required.
- Download
poschart.zipfrom the Releases page (see the v1.0 release). - In Power Apps, go to Solutions → Import solution.
- Upload
poschart.zipand follow the wizard. - Open your Model Driven App, navigate to a Position form, add a Text column, then switch its control to positionchart.positionchart via Components → + Component.
- Set the following properties:
- Entity:
position - Position Name:
name - Position Parent:
parentpositionid
- Entity:
- Node.js v16+
- .NET Framework 4.6.2
- MSBuild (ships with Visual Studio or Build Tools)
- Power Platform CLI
cd pcf_positionchart
npm install
npm run buildcd ..\poschart
msbuild /t:build /restore /p:configuration=Release
# Output: poschart\bin\Release\poschart.zippower-apps-position-org-chart/
├── README.md
├── LICENSE
├── .gitignore
│
├── pcf_positionchart/ # PCF TypeScript project
│ ├── image.png # Screenshot used in README
│ ├── package.json
│ ├── tsconfig.json
│ ├── pcf_positionchart.pcfproj
│ ├── pcfconfig.json
│ ├── eslint.config.mjs
│ └── positionchart/
│ ├── index.ts # Control logic
│ ├── ControlManifest.Input.xml
│ └── css/
│ └── positionchart.css
│
└── poschart/ # Dataverse solution packaging project
├── poschart.cdsproj
└── src/Other/
├── Solution.xml
├── Customizations.xml
└── Relationships.xml
This project is licensed under the MIT License — see the LICENSE file for details.
Pull requests are welcome! Please create an issue to discuss the change For updates suggestions please create an issue
