Short walkthrough for advanced users:
- Login to your SharePoint 2019 On-Premise farm.
- Open SharePoint 2019 Management Shell as administrator.
- Execute the following PowerShell command:
(Get-SPSite -Identity "https://your-host/sites/modern-site").DenyPermissionsMask = [Microsoft.SharePoint.SPBasePermissions]::EmptyMask
Note: You can skip this step if you want to use ShortPoint on Modern SharePoint Sites and Pages only.
Want to skip? Proceed to the next step:
Installation Step 1: Upload ShortPoint SPFx to App Catalog (SharePoint 2019)
Detailed tutorial
This article is for you if one or more of the following is true:
- you are running ShortPoint SPFx package on SharePoint 2019 On-Premise
- you have faced this issue while running ShortPoint Installation
- you want to enable scripting capabilities on modern sites (only required if you want to use ShortPoint on classic pages)
- you want to enable scripting capabilities on group sites (only required if you want to use ShortPoint on classic pages)
- you want to enable scripting capabilities on specific SharePoint 2019 On-Premise site only
- if you are more comfortable typing PowerShell commands - nice to meet you :)
Introduction
Enable Scripting Capabilities on modern sites and other sites
Scripting capabilities are not enabled with modern sites (and other sites) by default, and cannot be enabled using the central administrator for modern sites. You can not install ShortPoint SPFx for classic pages on modern sites if scripting capabilities are not enabled.
- The only way to enable scripting capabilities on modern sites is using PowerShell.
- You need to have access to your SharePoint Farm Server and you need to be Farm Server Administrator.
How to enable Scripting Capabilities with PowerShell for
Step 1: Open SharePoint 2019 Management Shell
Open SharePoint 2019 Management Shell as an administrator
Step 2: Enable Scripting Capabilities on your site
Type the following command that will enable scripting capabilities on your modern site and any other site:
(Get-SPSite -Identity "https://your-host/sites/modern-site").DenyPermissionsMask = [Microsoft.SharePoint.SPBasePermissions]::EmptyMask
Replace with your host name
Replace with the path of your modern site
Hit Enter.
That's it. Now you have scripting capabilities enabled.