Is there a way to conditionally format a graphic object on a layout? I'd like to change the color of the object based on a data condition. Thanks.
No there is not. But you can put an item on there multiple times exactly on top of each other each with a different color and use the hide function to only display the one you want.
What type of graphic object? I often use a dingbat character, which can be easily formatted conditionally. Another option is to use a web viewer.
and if the graphic object is an svg, you can embed as an icon in a button bar segment and use conditional formatting to change the colour.
The object is a rectangle that is used as background color to a section of the layout. I would like to alter the color of the background based on a certain data condition to basically highlight the record (obviously looks different) under that certain data condition. I have used multiple objects placed on top of each other before but it's not entirely clear that those objects exist and it's clunky to switch between them in layout mode. Looks like making the rectangle a "do nothing" button with conditional formatting of fill color would do the trick. Thanks.
For a rectangle shape, I think you might be to use a text object stretched to the desired size.
IIRC, unlike the rectangle object, the text object will allow conditional formatting to be applied. I can't recall whether or not it is necessary to have some trivial text in the object, e.g. a single space char, but I do think that I have done this in the past.
And you can 'round' the corners to the point of having a circle (or arc) on that "square" text object. I use a single space character for these objects that can be conditionally formatted (fill)
Retrieving data ...