Forum Discussion

francis2324's avatar
francis2324
Copper Contributor
Oct 17, 2022
Solved

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 ...
  • RobElliott's avatar
    Oct 17, 2022

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

     

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

     

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

Resources