Forum Discussion

JohnBloggs950's avatar
JohnBloggs950
Copper Contributor
Oct 10, 2023
Solved

SharePoint library choice column formatting

I am trying to format a JSON for a Choice column that has been set to "choice pills". I am trying to change things like font color, background color, border etc. So far trying to do this but doesn't ...
  • ganeshsanap's avatar
    ganeshsanap
    Oct 10, 2023

    JohnBloggs950 

     

    Use [$__INTERNAL__] instead of @currentField in conditions like: 

     

    =if([$__INTERNAL__] == 'Sales', '#ff0000', if([$__INTERNAL__] == 'Marketing', '#006aff', if([$__INTERNAL__] == 'Warehouse', '#b882d7','green')))

     


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources