Git Product home page Git Product logo

spfx-org-chart's Introduction

org-chart

SharePoint Framework (SPFx) webpart to display organization hierarchy.

Big tiles SPFx-org-chart-big-tiles

Small tiles SPFx-org-chart-small-tiles

Building the code

git clone the repo

npm i

npm i -g gulp

gulp

This package produces the following:

  • lib/* - intermediate-stage commonjs build artifacts

  • dist/* - the bundled script, along with other resources

  • deploy/* - all resources which should be uploaded to a CDN.

Build options

Create Development server

gulp serve

Use this url to test on any sharepoint Online site: /_layouts/15/workbench.aspx

Create .sppkg package

gulp bundle --ship

gulp package-solution --ship

Configurations

Config SharePoint list

  • There is a config list deployed as default for you to configure, add items to the list to start building your organizational chart.
  • Start with adding a few items before setting the My Reportees field.

Config list SPFx-org-chart-big-tiles

Webpart Property Pane configurations

Setting Description
Use AD data to build the org chart Use the Microsoft Graph API to generate your organizational tree.
Select Org Config List Select a config list to generate your organizational tree.
Select user to start building the Org-Chart from the config list Select a user from the selected configuration list to use as starting point for your organizational tree.
Select user to start building the Org-Chart from AD data Select a user from the AD to use as starting point for your organizational tree.
Use small tiles Use only pictures/persona to display the nodes
Create Configuration List button Will display a dialog to create a new Configuration list

Webpart properties SPFx-org-chart-big-tiles

spfx-org-chart's People

Contributors

dependabot[bot] avatar vansyork avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.