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

session variables and element parameters

Solved758 views31st January 2024Visual Overview
1
Philip Argent [DevOps Enabler]579 30th January 2024 0 Comments

Would it be less resource intensive on the server to populate parameters into session variables and read them multiple times in visual overview instead of calling the parameter more than once?
What affect if any would this have on the client?

Jarno Lernou [SLC] [DevOps Enabler] Answered question 31st January 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Jarno Lernou [SLC] [DevOps Enabler]5.03K Posted 31st January 2024 4 Comments

Hi Philip,

When making complex and big Visio’s, it is worth looking into this option. If you have a rather small Visio or only need to reference the parameter only once, it does not make sense. The advantage here is that you don’t need to make a call to the server, but keep the variables in memory on each/your client. I highly advise limiting the scope of session variables when you’re working on a Visio that will be used multiple times (i.e. assigned to Element or Services) to at least CardVariable.

Some use cases where it is useful (not limited):

  1. Typically you need to fetch multiple parameters from a table on a certain row. Having the index in a session variable is convenient.
  2. If you need to format the session variable by means of a Regex, you don’t want to make your Visio visually overly complex, so then it might be worth saving the result of the Regex in a session variable.
  3. When you are showing a popup page (e.g. Maps, Trending graph) multiple times (e.g. different configs, different parameters), you should consider making one hidden ‘Visio’ page and reusing it by using Session Variables that will be set once you click on the icon/button that opens the popup.
  4. Show/Hide content based on interactions within the Visual Overview is typically done by Session Variables, although this might also work with Parameters. The scope of Session Variables can be limited though, so it’s multi-session, while using parameters will make the change for all users.
  5. It’s always the best idea to make your Visio as generic as possible by using placeholders like [this elementid] or [this view], but if you need to link to objects beyond the scope of your Visual Overview card (e.g. you need information from a manager element), then you might want to save the ID or name in a session variable and use this in all relevant places. By doing this, you don’t need to search all shapes whenever the ID or name changes. At that time, you only need to change the session variable initialization.

I’m sure there are other (specific) use cases that might also be worth considering using session variables, but I hope this already gives you some tips and tricks.

Kind Regards,
Jarno

Toon Casteele [SLC] [DevOps Enabler] Posted new comment 7th February 2024
Philip Argent commented 31st January 2024

Thanks Jarno,

These are mainly for services. We’re already using placeholders, regex and page/card variables, plus custom properties for some values like row indexes so the Visios are as generic as possible.
I’m guessing even reading a custom property into a session variable would speed things up as well when used more than once?
We do use parameters to display and use in show/hide logic, which is the main thing I’m thinking about at the moment, but these are all goo suggestions we’ll look into speeding up load times for improved user experience.

Jarno Lernou [SLC] [DevOps Enabler] commented 31st January 2024

Hi Philip, Indeed having properties is a way to have more flexibility. It is perfectly possible by populating session variables with them as well.

Besides this, there are of course a lot of different considerations to make your Visio more performant (e.g. Grouping, NoAlarmColorFill) but maybe this goes beyond the scope of your question and sometimes requires more details to see what can be improved.

Philip Argent commented 1st February 2024

We do use both of those quite a lot as well, any suggestions are welcome.

Toon Casteele [SLC] [DevOps Enabler] commented 7th February 2024

Hey Philip, maybe it’s worth it to reach out to the Visual Overview experts for a solution analysis? More info can be found on our expert hub: https://community.dataminer.services/exphub-visualoverview/

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