Scripting Settings In SharePoint Online

SharePoint provides one of the ability to authorized users to change the look and feel of the page / site, access and modify SharePoint objects based on the requirements. Now a days, SharePoint Online come with disabled custom scripting.

Due to this disabled feature, the users are not allowed to change the look and feel of the page by client side without using SharePoint Designer or other tools.

Custom Scripting feature is disabled by default to the following items,

  • Personal Sites
  • Self-Service created sites
  • Root Site Collection of the Tenant

Default Script settings in SharePoint Online under SharePoint admin center,

Script

The following site settings will not be available, if the Scripting is disabled.

Site feature Behaviour Notes
Save Site as Template No longer available in Site Settings. You can still build sites from templates created before scripting was disabled.
Save document library as template No longer available in Library Settings. You can still build document libraries from templates created before scripting was disabled.
Solution Gallery No longer available in Site Settings. You can still use solutions created before scripting was disabled.
Theme Gallery No longer available in Site Settings. You can still use themes created before scripting was disabled.
Help Settings No longer available in Site Settings. You can still access help file collections available before scripting was disabled.
HTML Field Security No longer available in Library Settings. You can still use HTML field security that you set up before scripting was disabled.
Sandbox solutions Solution Gallery will not appear in the Site Settings so you can’t add, manage, or upgrade sandbox solutions. You can still run sandbox solutions that were deployed before scripting was disabled.
SharePoint Designer Site Pages: No longer able to update web pages that are not HTML.
Handling List: Create Form and Custom Action will no longer work.
Subsites: New Subsite and Delete Site redirect to the Site Settings page in the browser.
Data Sources: Properties button is no longer available.
You can still open data sources.
Uploading an ASPX file to a document library No longer available in document libraries. ASPX files that are in the library already are not impacted.

The following web parts / features will not be available, if the scripting is disabled.

Web part category Web part
Blog Blog Archives
Blog Notifications
Blog Tools
Business Data Business Data Actions
Business Data Item
Business Data Item Builder
Business Data List
Business Data Related List
Excel Web Access
Indicator Details
Status List
Visio Web Access
Community About This Community
Join
My Membership
Tools
What’s Happening
Content Rollup Categories
Project Summary
Relevant Documents
RSS Viewer
Site Aggregator
Sites in Category
Term Property
Timeline
WSRP Viewer
XML Viewer
Document Sets Document Set Contents
Document Set Properties
Forms HTML Form Web Part
Media and Content Content Editor
Script Editor
Silverlight Web Part
Search Refinement
Search Box
Search Navigation
Search Results
Search-Driven Content Catalog-Item Reuse
Social Collaboration Contact Details
Note Board
Organization Browser
Site Feed
Tag Cloud
User Tasks
Master Page Gallery Can't create or edit master pages.
Publishing Sites Can't create or edit master pages and page layouts.

Table Reference.

The above listed features can be enabled by applying the setting under SharePoint Admin Centre in Office 365.

  • Log-in to the Office 365 Portal site.

  • Navigate to Office 365 Admin Centre (By clicking on the Admin from the Apps context menu on top left corner)

    Office 365

  • From the Left side navigating, click the ADMIN, then SharePoint under Office 365 admin center. This will navigate to SharePoint admin center

    SharePoint

  • Click the Settings under SharePoint admin center. This will navigate to Settings page, there we can manage the tenant settings.

  • Under the Custom Script function, select the options as in the following figure,

    Custom Script

  • Click OK. Now the SharePoint online will enable those disabled settings / webparts / features in 24 hrs.

Reference:

Up Next
    Ebook Download
    View all
    Learn
    View all