Skip to main content
< All Articles

How to roll up content from SharePoint sites using Highlighted Content Web Part

Posted on June 5, 2019
SharePoint

Content roll-up and aggregation from multiple sites has always been a big Matzo Ball in SharePoint. If you wanted to achieve some content aggregation in old (classic) SharePoint, you had to rely on either a Content Query or Content Search Web Part. And while they allowed to aggregate data in one place, user experience was terrible. And oh yeah, did I mention that you had to have Ph.D. in SharePoint to set them up?

Rollupcontenthcwp2

Example of Content Query Web Part (CQWP) setup screen

Rollupcontenthcwp1

Example of Content Search Web Part (CSWP) setup screen

Thanks to Microsoft’s ongoing modernization of SharePoint, we now have a great way to roll up content from multiple sources. The web part that allows us to do this is called Highlighted Content Web Part (HCWP). With this post, I would like to explain what the HCWP web part is all about and how to use it to roll up content across your sites.

Step 1: Add Highlighted Content Web Part to the modern page

  1. Edit the page Newsvsannouncementswebpart4
  2. Hit the “+” sign, then choose Highlighted Content Rollupcontenthcwp3

Step 2: Configure HCWP Web Part

  1. Click the pencil icon to edit its properties Rollupcontenthcwp4
  2. First, you can configure the sources (which sites you will collect info from). In case you use Hub Sites, you can aggregate info from the whole Hub! Rollupcontenthcwp5
  3. You then can specify the type of content being aggregated. Most of the time it will probably be documents, but you can also choose other types as well Rollupcontenthcwp6
  4. Next, you can set your filters and the sort order (both optional). you can get pretty advanced, with filtering by managed properties as well (as depicted in the example below) Rollupcontenthcwp7

Use Cases for using Highlighted Content Web Part (HCWP) web part

  1. Display recently modified documents on a site or the whole Hub Rollupcontenthcwp8 Rollupcontenthcwp9
  2. Roll up of documents based on a specific piece of metadata (managed property) Rollupcontenthcwp7
  3. Roll up of Pages, based on metadata for a company Wiki

About Me

I’m Greg Zelfond, a U.S. based SharePoint consultant, and I provide affordable out-of-the-box SharePoint consulting, training, and configuration assistance to small and medium-sized businesses all over the world.

Need help?