sp-dev-fx-webparts/samples/react-tenant-properties/README.md

80 lines
2.1 KiB
Markdown
Raw Normal View History

2020-11-08 23:44:30 -05:00
# Tenant Properties
## Summary
2020-10-20 22:26:41 -04:00
This web part allows tenant administrators to manage tenant properties through a graphical interface.
We can create, edit or delete tenant properties.
2020-10-20 11:21:10 -04:00
Only users with Tenant Admin Role are allowed to managed tenant properties.
2020-10-20 22:26:41 -04:00
### User without Tenant Admin Role got this message
![tenant properties](./assets/TenantProperties5.jpg)
2020-10-20 22:26:41 -04:00
### List tenant properties
![tenant properties](./assets/TenantProperties1.jpg)
2020-10-20 22:26:41 -04:00
### Add Tenant property
![tenant properties](./assets/TenantProperties2.jpg)
2020-10-20 22:26:41 -04:00
### Edit tenant property
![tenant properties](./assets/TenantProperties3.jpg)
2020-10-20 22:26:41 -04:00
### Delete tenant property
![tenant properties](./assets/TenantProperties4.jpg)
2020-10-20 11:21:10 -04:00
## Used SharePoint Framework Version
2020-10-20 22:26:41 -04:00
![SPFx 1.11](https://img.shields.io/badge/version-1.11.0-green.svg)
## Applies to
* [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
* [Office 365 tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
## WebPart Properties
Property |Type|Required| comments
--------------------|----|--------|----------
WebPart Title| Text| no|
## Solution
2020-10-20 22:26:41 -04:00
The Web Part Use MSGraph API and need to SharePoint Administrator approve de scope "Directory.ReadWrite.All" in SharePoint Admin Center.
Solution|Author(s)
--------|---------
Tenant Properties WebPart|João Mendes
## Version history
Version|Date|Comments
-------|----|--------
1.0.0|Mar 08, 2019|Initial release
2020-10-20 11:21:10 -04:00
1.0.1|October 20, 2020|Update to SPFx 1.11.0
## Disclaimer
2020-10-20 11:21:10 -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 build`
- `gulp bundle --ship`
- `gulp package-solution --ship`
2020-10-20 22:26:41 -04:00
- Add to AppCatalog and deploy
- Approve API permission on SharePoint Admin Center
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/react-tenant-properties" />