September 28, 2022, 12:02pm
I need to be able to display a warning icon if a value in my database exceeds a certain value.
I know how to build the Customer Data Viewer and I know the “Advanced Binding”.
But where and how should the logic around the display of the icons be placed?
Does anyone know of a relevant thread or examples of this?
Example of what I would like to achieve is:
FieldValue > 8 - show red icon
FieldValue < 3 - show green icon
September 28, 2022, 12:53pm
Conditional binding with the data viewer list is not possible at this time. Your options are to
paint the DVL or to use a layouts component and cloning.
September 29, 2022, 8:32pm
Thanks for the reply.
I’m not sure I’m catching the purpose of the “layouts” component in relation to the specific issue.
So there is no way I can show/hide a component/image based on a value?
September 29, 2022, 9:01pm
Did you try the “paint the DVL” method mentioned above? Because that is a way to alter the look of DVL elements based on conditional values.
October 5, 2022, 7:46am
Thank you for your reply.
I have looked a bit at the solution of painting the DLV, but I do not think it is the right technical solution to loop through a temporary table.
So I have solved it with formulas in the database, which generate a filename depending on which image to display.
January 4, 2023, 12:15pm
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.