sp-dev-fx-webparts/samples/react-team-creator
Hugo Bernier 19bba31499 Added 1.7.x containers 2022-02-16 01:12:30 -05:00
..
.devcontainer Added 1.7.x containers 2022-02-16 01:12:30 -05:00
assets Removing unnecessary office product from the sample metadata 2021-12-10 19:55:32 +02:00
config Upgrade to SPFx v1.7.0, update to use v1.0 MS Graph endpoints (#693) 2018-11-21 09:08:44 +02:00
src Upgrade to SPFx v1.7.0, update to use v1.0 MS Graph endpoints (#693) 2018-11-21 09:08:44 +02:00
.editorconfig Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
.gitignore Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
.yo-rc.json Upgrade to SPFx v1.7.0, update to use v1.0 MS Graph endpoints (#693) 2018-11-21 09:08:44 +02:00
README.md Added 1.7.x containers 2022-02-16 01:12:30 -05:00
gulpfile.js Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
package-lock.json Upgrade to SPFx v1.7.0, update to use v1.0 MS Graph endpoints (#693) 2018-11-21 09:08:44 +02:00
package.json Upgrade to SPFx v1.7.0, update to use v1.0 MS Graph endpoints (#693) 2018-11-21 09:08:44 +02:00
tsconfig.json Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
tslint.json Upgrade to SPFx v1.7.0, update to use v1.0 MS Graph endpoints (#693) 2018-11-21 09:08:44 +02:00

README.md

Teams Creator

Summary

The web part illustrates usage of MS Graph beta APIs to work with Teams:

  • O365 group creation
  • Team creation
  • Channel creation
  • Installation of an app
  • Adding tab
  • Getting apps from App Catalog

React Side Panel Client-Side Web Part

Compatibility

SPFx 1.7.0 Node.js v8 Compatible with SharePoint Online Does not work with SharePoint 2019 Does not work with SharePoint 2016 (Feature Pack 2) Local Workbench Compatible Hosted Workbench Compatible Compatible with Remote Containers

Applies to

Solution

Solution Author(s)
teams-creator-client-side-solution Alex Terentiev (Sharepointalist Inc., AJIXuMuK)

Version history

Version Date Comments
1.0 October 17, 2018 Initial release
1.1 November 19, 2018 Upgrade to SPFx v1.7.0, updated to use v1.0 MS Graph endpoints

Features

Sample features:

  • O365 Group creation
  • MS Team creation
  • Channel creation
  • Teams App installation
  • Adding Teams tab
  • Usage of PnP React Controls

Caveats

  • There is no way to filter Teams Apps requested from App Catalog by App Type. Because of that dropdown displays not only apps that are available as Tabs but all of them.
  • Although the app can be added as a Tab there is no API to configure the app completely. At least, there is no way to figure out what settings are there for this or that specific app. So, after tab creation in the Teams app a user will see "Set up tab" button in the fresh tab.

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.