Select to view content in your preferred language

Dashboards List Template Question

70
0
02-16-2025 03:04 PM
dougholland75
Emerging Contributor

I have a list in a dashboard where the source for the template includes code such as the following:

<span style="color:#38a800;font-size:12px;"><span style="font-family:Calibri,sans-serif;"><strong>&nbsp;</strong></span><strong>{field/item}&nbsp;</strong>

When field/item resolves to the string "GREEN", for example, I need to ensure the text color is green and not a fixed hex value as it is presently. The list contains many such items and I need each to be colored accordingly. The set of colors is a fixed set which should simplify the issue.

How can I do this within the list template or with Advanced Formatting?

0 Kudos
0 Replies