Skip to content
DataMiner Dojo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Changing the background color in the alarm table

136 views3 days ago
4
Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate]915 3rd March 2026 0 Comments

In Visio, we are displaying Active alarms one by one using the Children syntax.

We would like to change the background color of the entire row depending on the ELEMENT NAME of the alarm. This is not based on the alarm severity, but rather to highlight specific critical devices.

Is it possible to apply custom coloring to alarms based on the ELEMENT NAME?

Klaas Dewitte [SLC] [DevOps Advocate] Answered question 3 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Klaas Dewitte [SLC] [DevOps Advocate]883 Posted 3 days ago 0 Comments

Hi Yuki,

There are two ways you can approach this:

The first is by using the BackgroundColor shape data and the [Element Name] placeholder. It is then needed to do some form of lookup between the element name and the color (can be just a color name (e.g. "red") or a another form of defining a color, more info here). If there is a single set of elements you want to highlight, you can just use a RegexReplace like this:

[RegexReplace:VisioQA-Element,[ELEMENT NAME],red]

More info on regexreplace can be found here.

This can however can complex if you for example start nesting these to match multiple sets of elements to multiple colors (the output of this placeholder if it does not match is just the element so you can nest multiple.

A better approach might be to have a dummy element with a table where the PK or DK is the element name and a column represents the color, then you can use the [param] placeholder to query the correct color.

The other approach (worse to maintain but easier if the set of elements is small) is to use conditional display. With the show shape data, you can set if shape should be shown or not. So if you stack multiple shapes on top of each other (one with color and one without for example), you can then use conditional display to only show the one with color for specific elements. This can look like this for example:

[sep:-^]<A>^A|Value|[ELEMENT NAME]|Regex=VisioQA*

This will show this shape for each alarm where the element name starts with VisioQA. Note that the sep placeholder at the start is needed when the Regex or ElementName could contain a "-".

You can stack multiple of these shapes if multiple colors would be needed for multiple sets of elements

Hopefully one of these approaches can help you forward!

Klaas Dewitte [SLC] [DevOps Advocate] Answered question 3 days ago
You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2026 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin