Forum Discussion
LadislavStupak
Mar 21, 2022Brass Contributor
Script Editor on Modern Communication Site SharePoint 2019 on Premise
Dear Ladies and Gentlemen, How can I add Script Editor on Modern Communication Site SharePoint 2019 on Premise? Thank you. Ladislav Stupak
- Mar 30, 2022In the site collection with modern "Communication site" as root Website template in SharePoint 2019 On-Premise it is not possible to use Script Editor.
In the site collection with modern "Team site" as root Website template in SharePoint 2019 On-Premise it is possible to use Script Editor.
So the solution has been the creation of new site collection with modern "Team site" as root Website template.
In such website is possible to use Three-state workflow on the lists. This workflow uses classic Task list. And in this Task list has been possible to add Script Editor to the dialog pages to eliminate the "Show more" link and displaying all fields of the list while opening the dialog page.
Matthias_Glubrecht
Microsoft
Mar 27, 2022LadislavStupak, like Joel Rodrigues already wrote, the SharePoint Script Editor can not be used on modern pages, but there is a "modern" script editor web part that you can use, if it is absolutely necessary. Joel posted the link to that web part.
The change you have made only applies to classic pages.
Kind regards,
Matthias
LadislavStupak
Mar 30, 2022Brass Contributor
In the site collection with modern "Communication site" as root Website template in SharePoint 2019 On-Premise it is not possible to use Script Editor.
In the site collection with modern "Team site" as root Website template in SharePoint 2019 On-Premise it is possible to use Script Editor.
So the solution has been the creation of new site collection with modern "Team site" as root Website template.
In such website is possible to use Three-state workflow on the lists. This workflow uses classic Task list. And in this Task list has been possible to add Script Editor to the dialog pages to eliminate the "Show more" link and displaying all fields of the list while opening the dialog page.
In the site collection with modern "Team site" as root Website template in SharePoint 2019 On-Premise it is possible to use Script Editor.
So the solution has been the creation of new site collection with modern "Team site" as root Website template.
In such website is possible to use Three-state workflow on the lists. This workflow uses classic Task list. And in this Task list has been possible to add Script Editor to the dialog pages to eliminate the "Show more" link and displaying all fields of the list while opening the dialog page.