SharePoint Online: How to Enable Custom Script
Introduction
Enabling custom scripts is allowing the users to run custom scripts on personal sites and self-service created sites. Without enabling custom scripts, we can’t embed the script in personal sites using SharePoint Designer.
Steps to achieve
Follow the below steps to “Enable” the custom script feature.
Step 1 - Open your Office 365 Admin Portal.
Step 2 - Select SharePoint from left navigation, as shown below.
**Step 3 - **On SharePoint admin page, select 'Settings'. It will navigate to the Settings page.
**Step 4 - **Check 'Allow users to run custom scripts on personal sites and self-service created sites', as shown below.
Step 5 - 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.