Rather than iterating through a ListCollection
for a List
, then ListItemCollection
for a ListItem
, does the API offer a more efficient way of getting all ListItems for a given site?
CodePudding user response:
No, there is no easy ways to get all listitems for a given site.
We have to get all the lists in site first, then loop through each list to get all the items.