Hi Dojo,
I have drawing like this:
The bottom 3 fields are grey because it's linked to an alarm table. If there is no entry they are just grey. Is it possible to fake it to make it green? The only solution in my mind is with show/hide function. But than I would need to take another parameter. Maybe there is a smarter solution.
I think this indeed the best way to approach it. Overlay two shapes and have the top one using a condition.
I'm not 100% following the environment and use case but you could use the BackgroundColor shape data to color the shape. This shape data can take placeholders, so you should be able to link it to different things.
If the shapes are gray because they are linked to an element or parameter for instance, you can disable that by defining the NoAlarmColorFill option.
If an alarm comes up in the table the color should change to red etc.
So I can’t use NoAlarmColorFill or use BackgroundColor, because the shape is not static and it’s linked to the table row index.
But maybe I could make another shape on top with BackgroundColor and this will hide when something is found in the table?
My solution are two shapes. One with BackgroundColor and the other one without. Using Show/Hide to view the correct shape