2

I just want to inject JavaScript in my SharePoint list of communication site. How do i use it

5

Unfortunately, it's not supported in the Modern Experience.

You can't customize the page to add Script Editor with JS or custom CSS as we have done in classic mode, meanwhile, you can go ahead with one of the following:


Below are the Unsupported customizations for Modern Experience

  • Custom master pages
  • More extensive branding will be supported later using alternative options
  • Custom page templates (layout templates) and Alternative layouts
  • Adding "classic" web parts on "modern" pages
  • Custom CSS via AlternateCSSUrl web property
  • Custom JavaScript embedded via User Custom Actions

See also

  • Thanks Mohamed, I Switch to the Classic Mode, but not able to see the content editor – Jen May 23 '18 at 20:05
  • Welcome @Jen, What about the Script Editor Do you find it? Also, Have you enabled Publishing Feature? Have you enabled Custom script form SharePoint Admin Center? by the way, the changing this setting might take up 24 hours to take effect! – Mohamed El-Qassas MVP May 23 '18 at 20:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.