msgraph-sdk-java icon indicating copy to clipboard operation
msgraph-sdk-java copied to clipboard

Question - Page through a collection using the Microsoft Graph SDKs - v6.29.0

Open ihudedi opened this issue 8 months ago • 3 comments

When passing through collection and readding the header to requestConfigurator of PageIterator.Builder Do I need to add the header as encoded key or not For example readding the select header requestInfo.addQueryParameter("%24select", new String[]{"name", "displayName", "id", "webUrl", "isPersonalSite"}); or requestInfo.addQueryParameter("$select", new String[]{"name", "displayName", "id", "webUrl", "isPersonalSite"});

According to the documentation in https://learn.microsoft.com/en-us/graph/sdks/paging?tabs=java it appeared it's needed to encode the key

Thanks, Itay

ihudedi avatar Jun 09 '25 11:06 ihudedi

Hi @Ndiritu @baywet Are you familiar with this question? Thanks, Itay

ihudedi avatar Aug 20 '25 11:08 ihudedi

I have transitioned to a new team and won't be replying to this issue/pull request moving forward. Thank you for your understanding.

So has Philip.

Maybe @adrian05-ms or @ramsessanchez can help here.

baywet avatar Aug 20 '25 12:08 baywet

Hi @adrian05-ms @ramsessanchez Do you have any idea? Thanks, Itay

ihudedi avatar Sep 25 '25 08:09 ihudedi