Hi all,
I like to change the background color of some value using a Javascript calculation alike this snippet:
Transformation : Time2Color
(function(data) {
var returnValue = SomeCondition ? ‘red’ : ‘green’;
return returnValue
})(input)
What is the syntax to reference that in sitemaps ? config:js:Time2Color ?
I know about the simple coloring syntax: e.g. Text item=some Item valuecolor=[OPEN=“green”, CLOSED=“red”]
But how to reference that in sitemaps … Text item=some Item valuecolor=???
Thx for any hint
Gerry