How to get Updated list properties using PnP JS in SharePoint online.

Copper Contributor

when I try to get the latest list properties I am not getting latest properties like change token, ItemsCount, LastItemDeletedDate. When I use open developer tools getting the actual result. Here is my code

$pnp.sp.web.lists.getByTitle('listname').get().then(function(items) {

1 Reply


I am having the same problem - getting wrong result when trying to get number of items in the list.

Any resolutions to this?