Forum Discussion
francis2324
Oct 17, 2022Copper Contributor
SharePoint list conditional formatting, hide button
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!
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)
- RobElliottSilver 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)- francis2324Copper Contributor
This is what I need. Thank you!