SharePoint list conditional formatting, hide button

New Contributor

Hi All,


I am trying to look if a conditional formatting for a button on a SharePoint list is available. The current SharePoint list that I am working on has a column that contains button wherein this button when clicked will update the row and put an entry on another field. The button should only appear if the entry on the field for that row is null. I want the button hidden whenever the field entry is not null.  


Thank you!


2 Replies
best response confirmed by francis2324 (New Contributor)

@francis2324 in the style section of your JSON -formatted button, set the visibility as shown below:


"visibility": "=if([$PublishedToTeams] == 'Yes','hidden','visible')"


Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)

This is what I need. Thank you!