Enable Custom Script In SharePoint Online

Introduction

Enabling the Custom Scripts is allowing the users to run the custom scripts on personal sites and self-service created sites. Without enabling the custom scripts, we can’t embed the script in personal sites using SharePoint designer.

Steps - Follow the below steps to “Enable” the custom script feature.

Step 1 - Open your Office 365 Admin Portal.



Step 2 - Then, select SharePoint from left navigation, as shown below.



Step 3 - On SharePoint admin page, select 'Settings'. It will navigate to Settings page.


Step 4 - Check 'Allow users to run custom scripts on personal sites and self-service created sites', as shown below.



Step 5 - Then, click “OK”. It takes about 24 hours for the changes to take effect.



Finally, you can embed the code for personal sites using SharePoint Designer.

Summary
- So, we have explored how to enable the custom script for SharePoint Online Portal.