Enabling Scripting for SharePoint 2019

Modifying SharePoint Modern Sites requires that Scripting Support is enabled on the site.  Scripting support is a requirement from Microsoft.

Scripting Support needs to be enabled before Mega Drop Down is "Enabled" from the MDD Administration Site.

Please follow these steps to enable scripting:

  1. From your SharePoint Server, open the SharePoint Management Shell.
  2. Run the following command:

    (Get-SPSite -Identity "http://<sitecollectionurl>").DenyPermissionsMask = [Microsoft.SharePoint.SPBasePermissions]::EmptyMask


    Replace http://<sitecollectionurl> with the URL to your site collection.

  3. Once the command completes, you can then enable Mega Drop Down on the Site Collection: