Hi Dojo
I want to change the color of the buttons in Low-Code Apps.
If I understand correctly, the button color is in sync with the color of the entire Apps created.
I would like to remove these synchronizations and have a unique color for each button.
I also want them to sync with the alarm template if possible.
Because then I can prompt the operator to click on it when an alarm is triggered.
Is it possible to create such a button?
Or do you have any ideas that could be substituted else how?
Regards,
Hi Yuki,
Currently, the color of the button component cannot be dynamically changed. To achieve your use case in a different way, you could make use of a grid component. The component makes use of query data to display 1 template per row of the query result. For your use case the query rows would represent a set of alarms in your system. This template can then be customized with different shapes and conditions based on your data using the template editor. The template can have a shape that has a different color based on the alarm state contained in the row. Each template shape can also execute actions when clicked, making it act as a button. Combining this component with query updates to have up-to-date data should achieve the use case.