Hi Dojo,
Would it be possible to give a shape (linked to a view or element) a default alarm color?
The goal would be that the shape is shown with the Green/Normal alarm level even if there are no monitored parameters. Currently if there are no monitored parameters the shapes are displayed with a grey color.
More info on the use case:
There is a table being alarmed on but this table doesn't always contain rows. This behaviour results in the element and view showing up in a grey color while everything is still OK.
Thanks in advance.
Hi Robin,
This is possible when your shape is linked to an Alarm Filter (ref. Linking a shape to an alarm filter | DataMiner Docs -> Options : DefaultAlarmLevel=Normal). This option is not working with any other Shape Data unfortunetaly. If you want this functionality, I think you will have to make use of conditions based on the severity and create two shapes. Make use of the z-order to put the existing shape on top of the normal shape, and you will only need one condition (i.e. on the existing shape).
ref. Enum AlarmLevel | DataMiner Docs
Kind Regards,
Jarno
![](https://community.dataminer.services/wp-content/uploads/wp-user-manager-uploads/2021/02/7wf9los1a5d41.jpg)
FYI, nowadays it’s doable to do this without condition, saving you some computing power, thanks to the BackgroundColor shape data and the Color placeholder with severity argument. I’m sure there’s a solution in here somewhere using this and some general element parameters.
https://docs.dataminer.services/user-guide/Basic_Functionality/Visio/miscellaneous/Setting_the_background_color_of_a_static_shape.html
https://docs.dataminer.services/user-guide/Basic_Functionality/Visio/reference/Placeholders_for_variables_in_shape_data_values.html