Can I use Modern Script Editor and JSOM to get items from a list?
-
08-02-2021 - |
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:
And I get this error:
Uncaught ReferenceError: ExecuteOrDelayUntilScriptLoaded is not defined
La solution
No, this is impossible. JSOM can only be available in classic experience. Modern Script Editor has limited functionality.
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange