Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Paging capability #4

Closed
Jandos22 opened this issue Nov 18, 2017 · 3 comments
Closed

Paging capability #4

Jandos22 opened this issue Nov 18, 2017 · 3 comments
Assignees
Milestone

Comments

@Jandos22
Copy link
Contributor

Hello!

How is it possible to access __next property for pagination using List methods? I couldn't find any hints for paging in sprestlib documentation. API is really lightweight and very handy, it would be great to have paging options as well.

Regards,
Zhandos

@gitbrent gitbrent self-assigned this Nov 19, 2017
@gitbrent
Copy link
Owner

Hi @Wireliner,

Thanks for opening this request.

I've been focusing on completing and stabilizing the core API features, which is nearing completion. Once i've got the last site() method working, I was planning to turn my attention to paging.

Bottom line: Paging (__next) feature is coming very soon.

Thanks for the feedback! I'll update this Issue as progress on paging is made.

@gitbrent gitbrent added this to the 1.4.0 milestone Nov 19, 2017
@Jandos22
Copy link
Contributor Author

Hi @gitbrent! Very glad to hear that. Thanks for the great job!

@gitbrent
Copy link
Owner

Hi @Wireliner,

I've added a new option to getItems() that implements SharePoint's next/skip/paging feature.

See the README for an example of queryNext and let me know what you think.

@gitbrent gitbrent closed this as completed Jan 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants