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
    • Agility
      • Kanban workshop
      • Agile Fundamentals
    • 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
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Visual Overview – How to configure variables when visuals are embedded

Solved1.13K views16th June 2021Visual Overview
1
Jens Vandewalle [SLC] [DevOps Enabler]9.50K 15th June 2021 0 Comments

I have a server Visual Overview containing an overview of my different Linux and Microsoft servers. When the user clicks on a server, the visual of that element gets embedded.

Each element visual make use of card variable varSelectedDiskTrendParameterIndex which gets an value C: assigned for Microsoft servers and value *root.0 for Linux servers.

When I open the element visuals, everything works.

Microsoft Visual

Linux Visual

When I open my server Visual Overview, the Microsoft visual gets loaded as it should be.

But when I select my Linux server, the card variable doesn’t contain the correct value. I guess that the value of my Microsoft element is still used.

Is there a way that this can work without making use of different card variable names in the different Visual Overviews?

Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 16th June 2021

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Sebastiaan Dumoulein [SLC] [DevOps Enabler]12.83K Posted 16th June 2021 1 Comment

You’re probably using the InitVar functionality to set your variable? As the name suggests, the InitVar will initialize a session variable with a value. This means that no value will be set if the variable already has been initialized.

If you want to set a variable upon opening a page, you can use the following workaround which uses a page execute, see help. Configure the execute to assign the value to your session variable. Don’t forget to add the ExecuteSetsOnInit to execute the set using the initial value.

Execute    Set|Variable|MyVariable|*root.0|SetTrigger=ValueChanged
Options    ExecuteSetsOnInit

Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 16th June 2021
Jens Vandewalle [SLC] [DevOps Enabler] commented 16th June 2021

I was indeed using InitVar. The proposed workaround worked. Thank you!

0
Michiel Vanthuyne [SLC] [DevOps Enabler]4.17K Posted 16th June 2021 0 Comments

The best way to to be sure of variable value is to temporarily add a small shape showing the  variable.
If the value is indeed still the variable of the windows server, the easiest workaround is probably to use global session variables instead of card variables.

Michiel Vanthuyne [SLC] [DevOps Enabler] Answered question 16th June 2021
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