Forum Discussion
ecucl
Mar 22, 2024Copper Contributor
pnp Modern Search - People - Search Source Scope
Hi everyone, I'm looking for some advice from anyone that has experience of the SharePoint 'https://microsoft-search.github.io/pnp-modern-search/. We have a requirement to build a people search ...
SteveKnutson
Mar 24, 2024MVP
Hi there,
You can limit the Search scope by including the path in the Query template in the Search Results webpart. For example, to limit to a specific List:
{SearchTerms}-Path:"https://xxxxxx.sharepoint.com/sites/xxx/lists/listname"
Does that help?