Scripting capability in Solution Studio is related to Custom Script option in the SharePoint admin settings. It is needed for creating or updating Solutions. The dialog for enabling scripting capabilities will appear on creating solution on the new site collection.
The other ways how to enable scripting capabilities:
- If you need to enable custom scripts manually for a certain site, you can use the following Microsoft PowerShell commands (using the SharePoint Online Management Shell):
Connect-SPOService -Url "https://<SPO tenant name>-admin.sharepoint.com"
Set-SPOsite "https://<SPO tenant name>.sharepoint.com/sites/<Site name>" -DenyAddAndCustomizePages 0
Hint: To run this command you have to be SharePoint Admin (Site Owner is not enough)
This will allow adding custom scripts to the given site.
- You can enable Custom Script in the SharePoint admin center. Read this article to know how to enable Custom Script - How can I allow/prevent users to run custom scripts on SharePoint Online?
Note: This option will be deprecated in April 2024
For more information also see the following MS article:
Allow or prevent custom script