How to Use the Script Editor Web Part in SharePoint 2013

Looking to add HTML and/or JavaScript to your SharePoint site?  Don’t worry, Microsoft has got you covered!  With the Script Editor Web Part in SharePoint 2013, you can do just that.  In this article, we’ll show you how to install the Script Editor Web Part as well as introduce some of its key functionalities.

Adding the Script Editor Web Part to Your Site:

  • Log into SharePoint 2013 and click the Page tab from the Ribbon. From here, click on the Setting icon on the upper right and select Edit Page:

  • On the Edit page, select the Insert Web Part tab from the Ribbon. From the Categories menu, select Media and Content and then Script Editor from the Parts menu:

  • Click on the Add button at the bottom of the page to install the Web Part.

Embedding Code to Your Site:

  • Once the Web Part has been successfully installed on your page, you will see a hyperlink button under the Script Editor labeled EDIT SNIPPET. Click the EDIT SNIPPET link to insert HTML/Script code:

  • In this example, I will insert an image, button, and alert a string as pictured below:

  • After you have inputted the appropriate code in the Embed dialog box, click Insert to save the HTML/Script.
  • Click the Save button on the right corner of your site:

  • Once you have successfully completed the embed, you will see the results of your code displayed on your site, similar to the following:

 

Want to know more about out-of-the-box web parts available
for SharePoint 2013? Check out the complete series via the links below:

 


SharePoint

Applications

SharePoint apps are stand-alone applications that perform specific tasks on a SharePoint site. Apps can perform functions such as managing a discussion board or knowledge base, performing project management or time tracking tasks, or doing other workflow operations.

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials


Essentials Plus


Bamboo Premier


Project Management Suite


Knowledge Management Suite


External User Manager


SharePoint

Web Parts

Extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of Web Parts. Web Parts are the building blocks of pages on a SharePoint site that can be used to customize the user interface and content of a site page. 

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials


Essentials Plus


Bamboo Premier


Project Management Suite


Knowledge Management Suite


External User Manager


Office 365

Cloud Parts

Cloud Parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft Office 365. More than mere ports of existing software to the cloud, our Cloud Parts have been built from the ground up to take advantage of the best that the cloud has to offer.

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Cloud Parts Suite for O365/SP Onl.


Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!