Customize SharePoint 2016 On-Premise with Script Editor for Intranet

Copper Contributor

Hi Everyone,


Aim:  I am writing in to seek your expertise and advise on SharePoint Script Editor. Specifically, how ,if any,


1) Does the use of Script Editor amounts to SharePoint customization?

2) Will Script Editor compromise SharePoint security?



Background :


I am using Script Editor on SharePoint 2016 On-Premise SP2 to develop a front-end interface for our stakeholders to filter business data for our Intranet. I achieved my goal via


1) Uploaded bootstrap.js/bootstrap.css/jQuery.js in a document library 

2) Stored business data via Custom List

3) Leveraged on SharePoint JavaScript API ( and jQuery to draw data from custom list and process the data and display the results on the SharePoint page.

4) Embed the entire HTML code via "Script Editor" of a SharePoint page.




1) What constitutes SharePoint customization?


Since Script Editor is a SharePoint out of the box web part, does using it amounts to SharePoint customization?


2) What are the types of SharePoint Customization? (Full trust solution vs client side scripting)


I believe full trust solution refers to .NET and C# codes that are deployed at SharePoint server. I am using Script Editor which is client side programming and I believe it's not a full trust solution.


3) Does customization via Script Editor affects SharePoint Intranet performance?


My web application filters data from the SharePoint custom list and display all the related data in the web page. I have estimated that the number of concurrent users to be 30-50 pax anytime. Therefore, will such use case impact our SharePoint Intranet performance. Given that our Intranet is spec to support around ~500 staff.


4) Can I migrate Script Editor customization easily from SharePoint 2016 on-Premise to SharePoint 2019 on-premise?


Am I right to assume the effort required for the migration of SharePoint customization via Script Editor comprises of 


1) Recreating the document library in SharePoint 2019

2) Recreating the custom list in SharePoint 2019

3) Copy and paste the existing codes from the SharePoint 2016 Script Editor as it to SharePoint 2019 Script Editor.


5) Will Script Editor compromise our intranet cyber security?


My JavaScript does 3 functions


1) CRUD of data from SharePoint list via SharePoint JavaScript API

2) Filter data from SharePoint list

3) Identify related data from other SharePoint list and display it on the webpage


Our IT dept had limited staff from uploading JS files. Only dept web masters with full control rights can access "Script Editor"


What are the cyber risks associated with Script Editor?? Specifically, can Script Editor be used to perform XSS??How can I work with our IT dept to mitigate these risks?


6) Can SharePoint Framework be deployed like "Script Editor"?


Based on, I believe it's similar to full trust solution where I will not have access to the SP server. 


7) Will Script Editor be phased out in future SharePoint and replaced by SPFX?


Thank you all for your time and hope to hear from you soon.

0 Replies