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?

Classic Content Query web part settings

Example of Content Query Web Part (CQWP) setup screen

Classic Content Search web part query builder

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 Edit button on a SharePoint page
  2. Hit the “+” sign, then choose Highlighted Content Highlighted content web part in the SharePoint web part toolbox

Step 2: Configure HCWP Web Part

  1. Click the pencil icon to edit its properties Edit pencil on a Highlighted Content web part showing recent documents
  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! Highlighted Content web part source options including All sites in the hub
  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 Highlighted Content web part content type options
  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) Highlighted Content web part filter by a managed property

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

  1. Display recently modified documents on a site or the whole Hub Highlighted Content web part settings for source, type, filter and sort Highlighted Content web part showing the most recent documents
  2. Roll up of documents based on a specific piece of metadata (managed property) Highlighted Content web part filter by a managed property
  3. Roll up of Pages, based on metadata for a company Wiki
Gregory Zelfond, the SharePoint Maven - profile photo

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?