Script editor and Content editor web part missing in SharePoint Online Office 365

Script Editor web part missing in SharePoint Online
SharePoint deveopment training course

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:

Script Editor web part missing in SharePoint Online
Script Editor web part missing in SharePoint Online

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:

Content Editor web part missing in SharePoint Online
Script Editor web part missing in SharePoint Online

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.

Script editor and Content editor web part missing office 365
Script Editor web part missing in SharePoint Online

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

SharePoint Online Script Editor web part missing
SharePoint Online Office 365 script editor and content editor web part missing

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:

According to Office blog, when scripting is disabled then lots of web parts and features will not be available in SharePoint Online Office 365.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →