sp-dev-fx-webparts/samples/react-manage-sitedesigns/README.md

146 lines
4.0 KiB
Markdown
Raw Normal View History

2020-11-08 23:28:40 -05:00
# Site Designs Manager
## Summary
This web part allows tenant administrators to manage site designs through a graphical interface.
We can create, edit, delete work with site scripts associated to a site design, manage permissions and apply site design to one or more sites.
Only users with Tenant Admin Role are allowed to managed tenant properties.
## Site Designs List
2020-11-08 23:28:40 -05:00
![site design list](./assets/screen1.jpg)
## Add, Edit and Delete site designs
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen2.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen3.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen3.1.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen4.jpg)
## Site Designs Rights
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen5.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen6.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen7.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen8.jpg)
## Site Design Site Scripts
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen9.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen10.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen11.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen12.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen13.jpg)
## Apply Site Design
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen14.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen15.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen16.jpg)
2020-11-08 23:28:40 -05:00
![tenant properties](./assets/screen17.jpg)
2022-02-14 02:52:18 -05:00
## Compatibility
2021-11-07 01:43:55 -04:00
| :warning: Important |
|:---------------------------|
| Every SPFx version is only compatible with specific version(s) of Node.js. In order to be able to build this sample, please ensure that the version of Node on your workstation matches one of the versions listed in this section. This sample will not work on a different version of Node.|
|Refer to <https://aka.ms/spfx-matrix> for more information on SPFx compatibility. |
2021-11-07 01:43:55 -04:00
![SPFx 1.8](https://img.shields.io/badge/SPFx-1.8.0-green.svg)
![Node.js v8](https://img.shields.io/badge/Node.js-v8-green.svg)
![Compatible with SharePoint Online](https://img.shields.io/badge/SharePoint%20Online-Compatible-green.svg)
![Compatible with SharePoint 2019](https://img.shields.io/badge/SharePoint%20Server%202019-Compatible-green.svg)
![Does not work with SharePoint 2016 (Feature Pack 2)](https://img.shields.io/badge/SharePoint%20Server%202016%20(Feature%20Pack%202)-Incompatible-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1")
![Local Workbench Compatible](https://img.shields.io/badge/Local%20Workbench-Compatible-green.svg)
![Hosted Workbench Compatible](https://img.shields.io/badge/Hosted%20Workbench-Compatible-green.svg)
2022-02-16 00:42:49 -05:00
![Compatible with Remote Containers](https://img.shields.io/badge/Remote%20Containers-Compatible-green.svg)
## Applies to
2022-10-24 09:42:45 -04:00
* [SharePoint Framework](https://learn.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
* [Microsoft 365 tenant](https://learn.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
2021-11-21 03:00:49 -05:00
## Web Part Properties
Property |Type|Required| comments
--------------------|----|--------|----------
WebPart Title| Text| no|
## Solution
The Web Part Use PnPjs library, Office-ui-fabric-react components.
Solution|Author(s)
--------|---------
Site Design Manager Web Part|João Mendes
## Version history
Version|Date|Comments
-------|----|--------
1.0.0|April 08, 2019|Initial release
## Minimal Path to Awesome
- Clone this repository
- Move to sample folder
- in the command line run:
- `npm install`
- `gulp build`
- `gulp bundle --ship`
- `gulp package-solution --ship`
2021-11-07 02:18:53 -05:00
- Add to AppCatalog and deploy
2022-02-16 00:42:49 -05:00
> This sample can also be opened with [VS Code Remote Development](https://code.visualstudio.com/docs/remote/remote-overview). Visit https://aka.ms/spfx-devcontainer for further instructions.
2021-11-07 02:18:53 -05:00
## 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.**
2021-12-20 10:25:30 -05:00
<img src="https://pnptelemetry.azurewebsites.net/sp-dev-fx-webparts/samples/react-manage-sitedesigns" />