Forum Discussion

vassp1980's avatar
vassp1980
Copper Contributor
Jul 11, 2024

Show/Hide a button webpart in sharepoint online based on group of logged in user

Hi Guys,   I need recommendation on a requirement that I have regarding controlling visiblity of a "button" webpart in SharePoint based on the M365 group of the logged in user.   For example if l...
  • Susan_Hanley's avatar
    Jul 11, 2024
    Instead of using the button web part, could you use the Quick Links web part in a button layout? The Quick Links web part supports audience targeting as well as choosing to open the link (or not) in a new tab. This would get your outcome with no special code required - just a different web part that does support targeting.

Resources