How Do I Enable Custom Scripting in SharePoint?


Scott Campbell

Enabling Custom Scripting in SharePoint

SharePoint is a powerful platform that allows users to collaborate, organize, and manage content effectively. One of the great features of SharePoint is the ability to customize it according to specific business needs.

However, by default, SharePoint disables custom scripting for security reasons. In this tutorial, we will explore how to enable custom scripting in SharePoint and harness its full potential.

Step 1: Accessing SharePoint Administration Center

To begin, you need to access the SharePoint Administration Center. This can be done by following these steps:

1. Open your web browser and enter the URL of your SharePoint site. 2.

Add “/_layouts/15/online/SiteCollections.aspx” to the end of the URL and hit Enter. 3. You will be redirected to the Site Collections page of the SharePoint Administration Center.

Step 2: Choosing a Site Collection

In the Site Collections page, you will see a list of all available site collections within your SharePoint environment. Choose the site collection for which you want to enable custom scripting by clicking on its name.

Step 3: Enabling Custom Scripting

Once you have chosen the desired site collection, follow these steps to enable custom scripting:

1. In the ribbon at the top of the page, click on “Settings” and then select “Site Settings” from the drop-down menu. In the Site Settings page, click on “Site collection features” under the “Site Collection Administration” section.

3. In the list of features, locate and click on “SharePoint Server Publishing Infrastructure” feature. 4. A dialog box will appear with options for activating or deactivating this feature. Choose “Activate” and click on “OK” to confirm.

Step 4: Configuring Custom Scripting Options

After enabling the SharePoint Server Publishing Infrastructure feature, you need to configure the custom scripting options. Follow these steps:

1. Return to the Site Settings page by clicking on “Settings” in the ribbon and selecting “Site Settings”. Under the “Site Collection Administration” section, click on “HTML Field Security”. In the HTML Field Security page, you will find three options: Restricted, Partially Restricted, and Allow users to run custom script on personal sites. Choose either “Partially Restricted” or “Allow users to run custom script on personal sites” based on your requirements. Click on “OK” to save your changes.

Congratulations! You have successfully enabled custom scripting in SharePoint for the chosen site collection. Now you can take advantage of the additional customization capabilities offered by SharePoint.

  • Bold text: Use bold text to emphasize important points or instructions.
  • Underlined text: Underlining text can draw attention to specific details or actions.
  • Subheaders

    : Use subheaders to break down sections and make it easier for readers to navigate through your tutorial.

  • Bulleted lists

    : Bulleted lists are perfect for listing step-by-step instructions or highlighting key points.

Remember that enabling custom scripting in SharePoint should be done with caution as it may introduce security risks if not managed properly. Always follow best practices and consult with your organization’s IT team before implementing any changes.

By following this tutorial, you have learned how to enable custom scripting in SharePoint and leverage its powerful customization capabilities. Start exploring and customizing your SharePoint site to meet your unique business needs.

Discord Server - Web Server - Private Server - DNS Server - Object-Oriented Programming - Scripting - Data Types - Data Structures

Privacy Policy