sp-dev-fx-webparts/samples/react-organization-chart
Hugo Bernier 8e6bd1404b Added web part to every sample 2024-04-18 01:51:29 -04:00
..
.devcontainer Updated linting warnings, container, readme, sample manifest 2024-03-10 13:52:12 -04:00
assets Added web part to every sample 2024-04-18 01:51:29 -04:00
config
src Updated linting warnings, container, readme, sample manifest 2024-03-10 13:52:12 -04:00
.eslintrc.js
.gitignore
.npmignore
.nvmrc Added .nvmrc 2024-02-27 09:21:37 +01:00
.yo-rc.json Re-added on prem environment 2024-02-27 09:26:27 +01:00
README.md Updated linting warnings, container, readme, sample manifest 2024-03-10 13:52:12 -04:00
gulpfile.js
package-lock.json Merge pull request #4956 from pnp/dependabot/npm_and_yarn/samples/react-organization-chart/follow-redirects-1.15.6 2024-03-25 21:40:20 -04:00
package.json
tsconfig.json

README.md

Organization Chart

Summary

This web part shows an organization chart based on specified user, and user can navigate to show company organization. This web part can be installed on SharePoint Server 2019, and SharePoint Online.

Organization Chart

Organization Chart

Organization Chart

Compatibility

⚠️ Important
Every SPFx version is optimally compatible with specific versions of Node.js. In order to be able to build this sample, you need to ensure that the version of Node on your workstation matches one of the versions listed in this section. This sample will not work on a different version of Node.
Refer to https://aka.ms/spfx-matrix for more information on SPFx compatibility.

This sample is optimally compatible with the following environment configuration:

SPFx 1.18.2 Node.js v16 | v18 Compatible with SharePoint Online Does not work with SharePoint 2019 Does not work with SharePoint 2016 (Feature Pack 2) Local Workbench Unsupported Hosted Workbench Compatible Compatible with Remote Containers

Applies to

Contributors

Version history

Version Date Comments
1.1 Feb, 2024 Guest user filter + update to SPFx 1.18.2
1.0 May, 2021 Initial release

Prerequisites

No pre-requisites

Minimal Path to Awesome

  • Clone this repository
  • Ensure that you are at the solution folder
  • in the command-line run:
    • npm install
    • gulp serve

This sample can also be opened with VS Code Remote Development. Visit https://aka.ms/spfx-devcontainer for further instructions.

Features

This web part shows how to use PnPjs, Office-ui-fabric-react to create an Organization Chart

This extension illustrates the following concepts:

Help

We do not support samples, but we do use GitHub to track issues and constantly want to improve these samples.

You can try looking at issues related to this sample to see if anybody else is having the same issues.

You can also try looking at discussions related to this sample and see what the community is saying.

If you encounter any issues while using this sample, create a new issue.

For questions regarding this sample, create a new question.

Finally, if you have an idea for improvement, make a suggestion.

Disclaimer

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.