Forum Discussion
Brent Ellis
Oct 05, 2016Silver Contributor
"Content Embed" vs "Script Editor" in the new modern pages
So I have done a lot of simple Script Editor Web Parts in my day Is the Script Editor Web Part coming back in modern pages? Is the purpose of the Content Embed web part in the modern pages to...
Brent Ellis
Mar 24, 2017Silver Contributor
Shout out to Mikael Svenson, after some muddling through some gulping and serving, and other things I dont know what I'm doing, I have a Script Editor Web Part in modern sharepoint!
This is going to save all kinds of time!
I say boo to all the legit developers that are saying this shouldnt be a thing. At least for my organization, this is a huge value-add and will help us start transitioning into modern sharepoint alot faster.
I've tested many of my more complicated SEWP and all working perfecting in Mikael's web part!
Couple links of note:
https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor
http://ericoverfield.com/script-editor-webpart-sewp-now-available-for-the-sharepoint-framework-spfx-sort-of/
Mikael Svenson
Mar 24, 2017Steel Contributor
Happy you could use it :) Next add would be to point to a file, but I'll wait until sp-filepicker is available as a component.
We're using it at a customer to add a big red button, navigating to a policy page :)
We're using it at a customer to add a big red button, navigating to a policy page :)