sp-dev-fx-webparts/samples/react-team-creator
Alex Terentiev d3c7739383 Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
..
assets Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
config Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
src Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +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 Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
README.md Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
gulpfile.js Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
package-lock.json Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
package.json Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
tsconfig.json Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00
tslint.json Example of MS Graph Teams beta API usage (#652) 2018-11-09 09:47:22 +02:00

README.md

React Teams Creator Web Part

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

Used SharePoint Framework Version

drop

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

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.

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.