Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to set the icon color in the Highlighted value component in UI builder ServiceNow??

Divya Sri K
Tera Expert

Hi, How can i set the Color for the icons alone, not the highlighted color??

 

For Display Value Block component in UI builder, When the Type is Highlighted-Value we have a property called color which sets the background color of that value. But when I'm trying to have color for the icon alone , it's not happening. what property do we need to use to set the color for the icon??

If i use the color property , with type highlighted-value it's applying for background , instead i should have it only for icon. What property to be used??

{"label":"Wlan","value":{"type":"highlighted-value","label":"Wlan Inuse",showIcon": true,"icon": "broadcast tower fill","color": "white"}}
2 REPLIES 2

Prachi_bhore
ServiceNow Employee
ServiceNow Employee

Hi @Divya Sri K , Could you find the solution for the above. I have a same requirement.

Hi @Prachi_bhore , No still not.

If you found anything, please reply here.

 

Thank you!