Forum Discussion
mstevens22
Nov 09, 2022Copper Contributor
Hiding Icon in Hyperlink Column with No Link
I am using the following JSON to replace the Link in a Hyperlink Column with an Icon. However the icon shows even if there is no link entered in the column. How can I make it so the linkable Icon is ...
- Nov 09, 2022Never mind I figured it out! I replaced the "iconName" with the following:
"iconName": "=if(@currentField =='','','Mail')",
mstevens22
Copper Contributor
Never mind I figured it out! I replaced the "iconName" with the following:
"iconName": "=if(@currentField =='','','Mail')",
"iconName": "=if(@currentField =='','','Mail')",
ganeshsanap
Nov 10, 2022MVP
mstevens22 Or simply use like:
"iconName": "=if(@currentField,'Mail','')",
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.