pnp / pnpjs

Fluent JavaScript API for SharePoint and Microsoft Graph REST APIs
https://pnp.github.io/pnpjs/
Other
753 stars 305 forks source link

ISearchQuery is missing EnableDynamicGroups #3088

Closed mdissel closed 4 weeks ago

mdissel commented 1 month ago

Target environment

SharePoint Framework

Additional environment details

No response

Enhancement Idea

The ISearchQuery interface and implementation is missing the EnableDynamicGroups option See https://learn.microsoft.com/en-us/sharepoint/dev/general-development/sharepoint-search-rest-api-overview#enabledynamicgroups

bcameron1231 commented 1 month ago

Hi. So this documentation appears to be wrong, or a bug in the SharePoint API.

EnableDynamicGroups works when it's passed over as a query param, but it appears it is not supported on the POST Microsoft.Office.Server.Search.REST.Search Request.

image

mdissel commented 1 month ago

Thanks!. I'm wondering if the setting is enabled by default when using a POST request.

github-actions[bot] commented 3 weeks ago

This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.