Script editor and Content editor web part missing in SharePoint Online Office 365
Check out Best Alternative to InfoPath -> Try Now
Content editor and Script editor web part were missing in SharePoint Online Office 365 sites. Here we will discuss, how we can enable custom script at Office 365 tenant level for SharePoint Online sites.
Recently one of my teammates faced one issue in Office 365 SharePoint online site. She recently signed up or an Office 365 SharePoint Online trial. Then she created a SharePoint Online team site, but when she edited the web part page and try to add a script editor or content editor web part, she was not able to see all the web parts in the Ribbon (Insert -> Web Part -> Categories). Script editor web part and content editor web part were missing in SharePoint Online site, See fig below:
Microsoft recently did one update, according to which the scripting capabilities are disabled by default for personal sites and self-service created sites in SharePoint Online Office 365. This behavior is intended to reduce the security risk of allowing users to insert custom scripts into SharePoint Online sites.
By default, in Office 365 SharePoint Online, custom scripts are disabled in Office 365 SharePoint Online. But we can enable custom script in Office 365 tenant level.
Login to your Office 365 Portal. Then Go to the SharePoint Admin Center.
Then go to Settings. If you can not see the Settings link then write Settings in the search box and click on Enter. In the search result click on the desired Settings link like below:
Then in the Settings page, go to the Custom Script section. By default, “Prevent users from running custom script on personal sites” and “Prevent users from running custom script on self-service created sites” will be selected.
Now select the radios button “Allow users to run custom script on personal sites” and “Allow users to run custom script on self-service created sites“. See fig below
Now click on OK. Once you save the page it may take up to 24 hours to reflect the changes.
Once it is reflected, you can edit a web part page in SharePoint Online and click on Add a web part, and you can see script editor and content editor web parts will be available in SharePoint Online Office365.
You may like following SharePoint web part tutorials:
- SharePoint 2013 Show web part page in the Modal Dialog box
- How to add closed web parts on a page in SharePoint 2013?
- Working with Promoted Links App in SharePoint 2013/2016/Online
- How to use Page viewer web part in SharePoint 2016/2013 or Online
- Quick Chart Web Part in Modern SharePoint Online Site
According to Office blog, when scripting is disabled then lots of web parts and features will not be available in SharePoint Online Office 365.
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.