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
Adds modern hub site menu to classic sections of modern sites connected to a Hub Site including classic subwebs.
Transforms classic Seattle master page look and feel to the modern experience.
- SharePoint Online
- Node.js, NPM
- Git client
git clone https://github.com/koltyakov/sp-modernizer-kit
cd
to the project folder and:
npm install
npm run config
Then provide SharePoint hub site URL and credentials in wizard prompts.
npm run build
Compiles project to ./dist
folder.
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 totrue
. This means that no custom scripts can be uploaded even with admin creds.
DenyAddAndCustomizePages
should be temporary disabled, i.e. using PowerShell:
Set-SPOSite -Identity https://{tenant}.sharepoint.com/sites/{site_uri} -DenyAddAndCustomizePages $False
or Office365 CLI:
spo site classic set --url https://{tenant}.sharepoint.com/{site_uri} --noScriptSite false
- Detect all sites in a hub
- Add custom task for ScriptLink custom actions provisioning