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
    • Empower Replay: Limited Edition
    • 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
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • 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)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Visio background color with parameters summary

Solved1.26K views19th September 2024
0
Stefan Schedletzky [DevOps Enabler]2.06K 19th September 2024 1 Comment

Hi Dojo,

I have a question regarding Visio. Here is the shape data:

So the field is green when no parameters are found (before it was grey). Therefore I added the backgroundcolor field. But will this be overwritten when an alarm is found?

Stefan Schedletzky [DevOps Enabler] Selected answer as best 19th September 2024
Stefan Schedletzky [DevOps Enabler] commented 19th September 2024

It will only stay green. Trying to find another solution

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Toon Casteele [SLC] [DevOps Enabler]7.01K Posted 19th September 2024 2 Comments

Indeed. ShapeData ‘BackgroundColor’ gets precedence over a linked shape’s alarmcolor. It does however not override the highlight and selection styles.

With what I see in your other shape data it seems difficult, but the only way out currently is to put a regex of sorts on your BackgroundColor that replaces into an empty string when you don’t want to display the green default color.

The only other non-scripting I can think out of this is to use a param placeholder to retrieve the right value and then extrapolate towards a color, but I can’t tell from your use case if that’s an option.

Finally of course, there’s the option to execute a script in the background and set a variable from the script that is then used in the BackgroundColor shape data. Dirty solution though and at that point you might want to create a feature suggestion.

Stefan Schedletzky [DevOps Enabler] Selected answer as best 19th September 2024
Stefan Schedletzky [DevOps Enabler] commented 19th September 2024

Hi Toon,
thanks for your answer. I have used now Show/Hide to remove the shape completely. So doubled the shapes and it should work.

Toon Casteele [SLC] [DevOps Enabler] commented 19th September 2024

Forgot about that one, good thinking!
Don’t forget to mark the question as solved so we know we don’t have to follow up on this further. Thanks.

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

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs