As a SharePoint administrator, you may need to display news from multiple hub sites on a single page. This central view helps employees see updates from different departments without visiting each site. The feature that makes this possible is the News Web Part with a custom query that targets multiple hubs. This guide explains how to configure a news rollup page that aggregates content from all hub sites in your organization.
Key Takeaways: Build a Hub-Spanning News Rollup
- News Web Part > Edit Web Part > Query > Select a hub: Choose a specific hub site to pull news from its associated sites.
- JSON formatting for multiple hubs: Use the
ManagedPropertyfilter to target news from several hub sites at once. - Site collection feature > News Rollup: Ensure the feature is active on the site where you place the rollup page.
How the News Rollup Feature Works Across Hub Sites
SharePoint news rollup allows you to display news posts from multiple sites in one place. By default, the News Web Part can pull news from the current site, the current site collection, or a single hub site. To aggregate news from multiple hubs, you must use the web part’s advanced query options. This requires editing the web part JSON and specifying the hub site IDs or a managed property that filters on the hubs. The prerequisite is that all sites whose news you want to roll up must be associated with one of the target hubs. You also need at least Edit permissions on the page where you place the web part.
Steps to Configure a News Rollup Page for Multiple Hub Sites
Follow these steps to create a page that displays news from all your hub sites.
- Create a new page or edit an existing one
Go to the site where you want the rollup page. Select Pages in the left navigation, then click New > Site Page. Give the page a title like “All Company News.” - Add the News Web Part
Click the plus sign (+) on the page canvas. Choose News from the web part list. The web part appears with default settings showing news from the current site. - Edit the web part query to target a hub
Click the pencil icon on the News Web Part to open its property pane. Under Query, select the option “Select a hub.” From the dropdown, choose one hub site. The web part now shows news from that hub and all sites associated with it. This is the basic single-hub rollup. - Switch to advanced query mode for multiple hubs
To include news from more than one hub, you need to use the advanced query. In the web part property pane, click the Advanced tab. Under Query, select “Show items from all sites in this site collection” as the base. Then in the Filter section, click Add filter. Choose Managed Property from the dropdown. - Configure the managed property filter for hub IDs
TypeHubSiteIdas the managed property. Set the operator to “is equal to” and paste the first hub site’s ID. Click Apply filter. To add a second hub, click Add filter again. Select OR as the logical operator, then repeat the same filter with the second hub site ID. Continue this pattern for each hub you want to include. You can find hub site IDs by running the SharePoint Online Management Shell commandGet-SPOHubSite. - Publish the page
Click Publish in the top-right corner. The page now displays news from all hub sites you specified.
Things to Avoid When Building a Multi-Hub News Rollup
News posts do not appear after configuring the filter
If no news shows up, verify that each hub site ID is correct. A missing character in the GUID will break the filter. Also confirm that the source sites are actually associated with the hubs. In SharePoint admin center, go to Active sites, select a site, and check the Hub field. If the site is not associated with any hub, its news will not appear in the rollup.
The web part shows duplicate news items
When news is posted to a site that belongs to two hubs, the item may appear twice. To avoid this, ensure each site is associated with only one hub. If a site must be in two hubs, consider using a different rollup strategy such as a SharePoint Framework web part that deduplicates results.
The rollup page loads slowly
Pulling news from many hubs can increase page load time. Limit the number of hubs to five or fewer. Use the news web part’s “Number of items” setting to show only the most recent ten posts. You can also enable the “Show only news from the last 30 days” filter to reduce the query scope.
Users cannot see news from hubs they do not have access to
The News Web Part respects permissions. If a user does not have access to a site whose news is being rolled up, that news item will not appear for that user. This is expected behavior. To confirm, sign in as a test user and check the page.
| Item | Single Hub Rollup | Multi-Hub Rollup |
|---|---|---|
| Configuration method | Select a hub from the dropdown | Advanced query with managed property filter |
| Number of hubs supported | 1 | Unlimited (practical limit of 5) |
| Required permissions | Edit on the page | Edit on the page + knowledge of hub site IDs |
| Risk of duplicates | Low | Medium if sites belong to multiple hubs |
You can now build a news rollup page that aggregates updates from all your hub sites. Start by identifying the hub site IDs using the SharePoint Online Management Shell. Then create a new page and configure the News Web Part with the managed property filter. For a cleaner experience, limit the number of hubs to five and set a short date range. As an advanced tip, use the Path managed property instead of HubSiteId to filter news from specific site paths rather than entire hubs.