Forum Discussion
grant_jenkins
May 11, 2025Iron Contributor
Modern Search - Scope outside current Site or Hub
I wanted to confirm whether or not we can configure a SharePoint site so it can search outside the default scope. For a single site we can only search within that site, for a Hub site we can only se...
- May 12, 2025
Hi, unfortunately, there is no “modern” out-of-the-box way to extend the standard search box beyond a site or hub. However, you can:
-Classic Search Center + Result Source: create a classic Search Center and define a Result Source with path: that includes hubs + extra sites.
-Custom SPFx Search Web Part: develop a web part that performs a REST/CSOM query with path: filter on the URLs you need.
Otherwise, you need an external solution (Graph connector, PnP or similar).
micheleariis
May 12, 2025MCT
Yes, unfortunately at the moment the only “modern” way is to use solutions like PnP Modern Search Web Parts. I also suggest you send feedback to Microsoft (Admin Center - Feedback) to ask for custom scopes. Hopefully they will integrate it soon 🙂