Skip to content

SharePoint Paged items with offset  #331

Open

Description

@couloir007

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsharepointSharePoint Online or On-Premises API issues

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions