Forum Discussion

Davidllem's avatar
Davidllem
Copper Contributor
Jan 18, 2024

Hide a list webpart in page Sharepoint if the list is empty in Pages

Hi,

We have a list is empty or only contains a single record with an important message for show in Home page. if the list has not a record I want to hide the list web part, any ideas how this can be achieved or any other solution that might be interesting?

My only solution is: I use a component list, but even if it is empty, it takes up space on home page that is not reduced, and the next component is more down.

Thanks.
Regards,
David.

Resources