Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SharePoint Paged items with offset #331

Open
couloir007 opened this issue Jun 15, 2023 · 0 comments
Open

SharePoint Paged items with offset #331

couloir007 opened this issue Jun 15, 2023 · 0 comments

Comments

@couloir007
Copy link

I see this example.

$allItems = $list->getItems()->getAll()->paged(5000, function ($returnType){
  print("{$returnType->getPageInfo()} items loaded...\n");
})->executeQuery();

Which is good, I can retrieve all of the items, which we have about 1,000. But I would like to retrieve 100 at a time with an offset. I'm not seeing how to do this. Is this possible? Or to get access to all of our items, we must retrieve all of them at the same time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants