Microsoft 365 and Office | SharePoint Server | For business
A family of Microsoft on-premises document management and storage systems.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi there,
I use ECMAScript to get some information from a List, and I cannot get count of list items. Is there ideas on it? Thanks
Hi @Will ,
In line 72 of your code, change it to clientContext.load(this.listItems). It should work for you.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.