Question

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:

https://social.technet.microsoft.com/wiki/contents/articles/37536.sharepoint-online-retrieve-list-items-from-sharepoint-list-using-javascript-object-model-jsom.aspx

And I get this error:

Uncaught ReferenceError: ExecuteOrDelayUntilScriptLoaded is not defined
Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top