Download the latest release as an SPFx webpart and deploy it directly to SharePoint Online.
- NodeJS 16.x (LTS)
- Code Editor (Visual Studio Code)
Run npm i
to install the required libraries.
Run npm run build
to build the dev version. Run npm run prod
to build the minified version.
Copy the dist/sc-admin.min.js
file to the Site Assets
library.
The solution is designed to work in classic pages. Click the link in the bottom left to view modern pages in classic mode.
Press Ctrl+Shift+I
or F-12
to access the developer tools and access the console tab.
Type in the following to reference the script.
var el = document.createElement("script");
el.src = "/sites/dev/siteassets/sc-admin.min.js";
document.head.appendChild(el);
Update the src url w/ your target web.
SCAdmin.Configuration.install();
Validate the logs from the installation to validate the list was created.
View the site contents and access the Site Collections
list. Setup the list to default to Classic
mode. The administration menu will be displayed on the default view.