In SharePoint Online is it possible to get info from lists and users by adding Modern Script Editor Web Part to a page and writing javascript code?

I've found a few examples but none of them have worked so far.

This one for example:


And I get this error:

Uncaught ReferenceError: ExecuteOrDelayUntilScriptLoaded is not defined

1 Answer 1


No, this is impossible. JSOM can only be available in classic experience. Modern Script Editor has limited functionality.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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