Forum Discussion

grant_jenkins's avatar
grant_jenkins
Iron Contributor
May 11, 2025
Solved

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...
  • micheleariis's avatar
    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).

Resources