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
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