2020-06-09 03:09:22 -04:00
---
page_type: sample
products:
- office-sp
languages:
- javascript
- typescript
extensions:
contentType: samples
technologies:
- SharePoint Framework
platforms:
- React
createdDate: 1/1/2016 12:00:00 AM
---
2016-09-15 06:28:29 -04:00
# Organisation Chart
## Summary
2021-04-26 02:08:59 -04:00
A simple Organisation Chart web part using Office UI Fabric, React, REST API batching and ServiceScope plumbing.
2016-09-15 06:28:29 -04:00
2017-03-13 06:33:59 -04:00
![Organisation Chart for the current user running in SharePoint ](./assets/orgchart.png )
![Organisation Chart for the current user running in local Workbench ](./assets/orgchart-mock.png )
2016-09-15 06:28:29 -04:00
2016-12-13 04:26:45 -05:00
## Used SharePoint Framework Version
2021-11-02 00:46:21 -04:00
![drop ](https://img.shields.io/badge/SPFx-GA-green.svg )
2016-12-13 04:26:45 -05:00
2016-09-15 06:28:29 -04:00
## Applies to
2020-06-09 03:09:22 -04:00
* [SharePoint Framework ](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview )
2016-09-15 06:28:29 -04:00
## Solution
Solution|Author(s)
--------|---------
2016-09-17 08:05:19 -04:00
OrganisationChart | Vardhaman Deshpande ([@vrdmn](https://twitter.com/vrdmn) , [vrdmn.com ](http://vrdmn.com ))
2016-09-15 06:28:29 -04:00
## Version history
Version|Date|Comments
-------|----|--------
1.0|September 14, 2016|Initial release
2017-03-13 06:33:59 -04:00
2.0|March 12, 2017|Updated for SPFx 1.0
2017-07-21 13:51:40 -04:00
2.1|July 19, 2017|Use office-ui-fabric-react and uifabric/styling
2016-09-15 06:28:29 -04:00
## Disclaimer
2021-04-26 02:08:59 -04:00
2016-09-15 06:28:29 -04:00
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
---
## Minimal Path to Awesome
- Clone this repository
- in the command line run:
- `npm install`
- `gulp serve`
## Features
Please see this post for further details about the web part: [SharePoint Framework: Org Chart web part using Office UI Fabric, React and OData batching ](http://www.vrdmn.com/2016/09/sharepoint-framework-org-chart-web-part.html )
This Web Part illustrates the following concepts on top of the SharePoint Framework:
- Office UI Fabric
- React
2017-03-13 06:33:59 -04:00
- REST API operations in SPFx
- REST API batching in SPFx
2016-09-15 06:28:29 -04:00
- ServiceScope and ServiceKeys
2016-09-17 08:05:19 -04:00
- Service Locator pattern to register and consume services
2016-10-06 04:08:19 -04:00
< img src = "https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/react-organisationchart" / >