mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-03-01 09:19:17 +00:00
80 lines
2.1 KiB
Markdown
80 lines
2.1 KiB
Markdown
# Tenant Properties
|
|
|
|
## Summary
|
|
|
|
This web part allows tenant administrators to manage tenant properties through a graphical interface.
|
|
We can create, edit or delete tenant properties.
|
|
|
|
Only users with Tenant Admin Role are allowed to managed tenant properties.
|
|
|
|
### User without Tenant Admin Role got this message
|
|
|
|

|
|
|
|
### List tenant properties
|
|
|
|

|
|
|
|
### Add Tenant property
|
|
|
|

|
|
|
|
### Edit tenant property
|
|
|
|

|
|
|
|
### Delete tenant property
|
|
|
|

|
|
|
|
## Used SharePoint Framework Version
|
|
|
|

|
|
|
|
## 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
|
|
|
|
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
|
|
1.0.1|October 20, 2020|Update to SPFx 1.11.0
|
|
|
|
## 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.**
|
|
|
|
---
|
|
|
|
## Minimal Path to Awesome
|
|
|
|
- Clone this repository
|
|
- in the command line run:
|
|
- `npm install`
|
|
- `gulp build`
|
|
- `gulp bundle --ship`
|
|
- `gulp package-solution --ship`
|
|
- 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" />
|