Domanda

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
È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top