Forum Discussion

Murali_Kurva's avatar
Murali_Kurva
Copper Contributor
Jun 24, 2023
Solved

Need to hide column data when it is folder or display data when it is file on SharePoint document li

We are using "Column Formatting" option on SP document library for particular column. When it folder, then that option need to hide, if it file or document inside the folder, then option need to visi...
  • Rob_Elliott's avatar
    Jun 25, 2023

    Murali_Kurva use the following:

    "visibility": "=if(((indexOf([$ContentTypeId],'0x0120')) == 0),'hidden', 'visible')"

     

     

Resources