This has caught me out twice now, trying to upload my custom theme file. I activate publishing features thinking this will fix it, it doesn't. I then go to the URL for themes "/_catalogs/theme/15/" and upload my SP colour file, i get the error “The documents cannot be uploaded because different permissions are needed. Request the necessary permissions.”
After googling around, it turns out it's nothing to do with user permissions and you actually need to enable scripting on your site collection, see here. If you change the setting manually it will take 24 hours, but you can use my C# code or PowerShell from this blog post.
Web Designer Galleries before changing setting:
Web Designer Galleries after changing setting:
Missing links:
- Web parts
- List templates
- Themes
- Solutions
- Composed looks
We enabled scripting in our site collection but still don't see anything. We're trying to avoid powershell, is there any other solution? This is on a Modern SharePoint Communication Site.
It takes 24 hours for this change to occur when you don’t do it via PowerShell. Did it resolve?
Hi what a good post. I enjoy your site and share on twitter all the time.
hope to see more posts.