Forum Discussion
sagar savaliya
Aug 01, 2017Copper Contributor
Cant able to find script and content editor in modern team site when i switch to classic view
Hi, i have created one team site using modern view and looks good. but when i switch back to classic view, i cant able to find some web parts like script editor and content editor webpart. s...
Aug 01, 2017
Probably custom scripting is not allowed on that site. You can enable it through PowerShell:
Set-SPOsite <SiteURL> -DenyAddAndCustomizePages 0
For more info, check this support article from Microsoft: https://support.office.com/en-gb/article/Allow-or-prevent-custom-script-1f2c515f-5d7e-448a-9fd7-835da935584f
sagar savaliya
Aug 02, 2017Copper Contributor
Thanks for the replay,
but i already enabled custom script in my tenanat but still cant able to find the webparts.
- Aug 02, 2017
It's a per site collection setting too. Even if you have enabled it on the tenant level, it can still be switched off on a site collection level.