microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
387 stars 340 forks source link

Make list web part hidden if there is no element #4067

Open madslmoeller opened 4 hours ago

madslmoeller commented 4 hours ago

Hi

I'm new to the M365 universe and SharePoint, but I'm currently trying to implement a PnP search feature that allows me to show Alerts (messages) from a list, but in that way, that it should stay hidden if there isn't any based on the end date. Is this a existing feature and if so, how do I implement that? Any documentation?

kasperbolarsen commented 2 hours ago

Hej Mads

This is one of the options in the Results web parts. It is on "page" 2 in the configuration, https://microsoft-search.github.io/pnp-modern-search/usage/search-results/layouts/