Andrew Donnan
posted this on November 25, 2008 14:48
<attribute name="bgColor">
<if test="@how_old > 12">red</if>
</attribute>
<eocfield name="entrydate"/>
<if test="1=0">
<expression name="how_old">datediff(hh,entrydate,getUTCDate())</expression>
</if>
Comments
Is there a way to make the change happen without either a manual refresh or a new data hit? I'm using something similar and although it color codes perfectly, if the data is static and the window left open (i.e. a wall display), the time will pass without any change in color. I have tried invoking a refresh using javascript, but even though the window refreshes, the expression does not appear to re-evaluate. Any suggestions?