Dashboard Control Panel

Hi All,
Looking to see if anyone may know how to help me with a detail in dashboard. We’ve built a control panel for curling and am hoping there is a way to change the color of a text box or text box border based on a perimeter (controlled by drop down menu in dashboard). See image - would like it to change as we select rock color. Any suggestions greatly appreciated.

Shaun Wright Producer

You want to change something in Dashboard or in XPression?

Hi Simon, change in dashboard - right now in dashboard we select the rock color for each team that already translates through and changes in XPression - but I’d like to have it also change the color of the a text box / area on the dashboard. You can kind of see the space in the image attached.

Shaun Wright Producer

There may be a better way but if you set some styles with the colours you want I think you can use.

ogscript.setStyle(“Object ID”, “Style.Name”);

If that works you could make an if statement based on your parameter string value.

I am XPression expert not DB so hopefully a DB pro on here might have more detail answer.