Tag Archives: News web part

Hiding a “Breaking” News Web Part in SharePoint Online

Overview

The topic of a web part that is visible when it contains content and not visible when there is no content to display came up while delivering a recent session and several folks thought it was interesting so I figured I’d throw the details up in case anyone else needed to see it.

This is purely out-of-the-box functionality that’s available with the News web part and IMO it works pretty slick.

On a page with multiple News web parts, one web part is configured to act as a “Breaking News” web part (above, in red).

This particular web part will only display one or two news posts at a time and is filtered to show items with a custom “Breaking News” property set to “yes”. The web part will not be visible when it is empty and any web parts below it in the same zone will slide into it’s place.

The disappearing functionality is made possible by enabling a setting in the “Layout” section of the News web part shown here:

That’s it. 🙂 Enjoy

References