https://github.com/koltyakov/sp-modernizer-kit
SharePoint Online classic sites modernizer kit
https://github.com/koltyakov/sp-modernizer-kit
classic javascript office365 sharepoint-online typescript ux
Last synced: over 1 year ago
JSON representation
SharePoint Online classic sites modernizer kit
- Host: GitHub
- URL: https://github.com/koltyakov/sp-modernizer-kit
- Owner: koltyakov
- Created: 2018-06-23T11:16:50.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T14:27:20.000Z (almost 8 years ago)
- Last Synced: 2025-03-25T17:23:13.537Z (over 1 year ago)
- Topics: classic, javascript, office365, sharepoint-online, typescript, ux
- Language: TypeScript
- Homepage:
- Size: 240 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SharePoint Online classic sites modernizer kit
**SharePoint Modernizer Kit** is an expandable set of solutions for Classic SharePoint which help in the transition to Modern experience.
> _This is a draft version and some work is in progress_
## Solutions
### Hub site menu
Adds modern hub site menu to classic sections of modern sites connected to a Hub Site including classic subwebs.

### Modernizer theme
Transforms classic Seattle master page look and feel to the modern experience.

### ... ideas and commits are welcomed
## Installation
### Prerequisites
- SharePoint Online
- Node.js, NPM
- Git client
### Clone the project
```bash
git clone https://github.com/koltyakov/sp-modernizer-kit
```
### Restore dependencies
`cd` to the project folder and:
```bash
npm install
```
### Connect to SharePoint
```bash
npm run config
```
Then provide SharePoint hub site URL and credentials in wizard prompts.
### Build the project
```bash
npm run build
```
Compiles project to `./dist` folder.
### Scripts deployment
```bash
npm run publish && gulp custom-actions
```
Publishes `./dist` folder content to SharePoint assets folder. Installs custom actions.
> **Note**: By default, modern sites have `DenyAddAndCustomizePages` site property set to `true`. This means that no custom scripts can be uploaded even with admin creds.
`DenyAddAndCustomizePages` should be temporary disabled, i.e. using PowerShell:
```powershell
Set-SPOSite -Identity https://{tenant}.sharepoint.com/sites/{site_uri} -DenyAddAndCustomizePages $False
```
or [Office365 CLI](https://github.com/pnp/office365-cli):
```bash
spo site classic set --url https://{tenant}.sharepoint.com/{site_uri} --noScriptSite false
```
### Custom actions provisioning to all sites connected to the hub
#### TBD
- Detect all sites in a hub
- Add custom task for ScriptLink custom actions provisioning