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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
  • Downloads
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • >> Go to dataminer.services

Reuse of Dashboard Queries between DMS and elements

Solved530 views3 days agoDashboard DMS ID Element ID Queries
0
Anna Carlsson [DevOps Member]368 7th November 2024 2 Comments

I have a staging server and a production server, both with the same set of elements and drivers. My goal is to create dashboards on the staging server first and then migrate them to the production environment.

However, when creating queries, I need to select the server ID and element ID, which makes the queries environment-specific.

Is there an easy way to replace these IDs with the corresponding ones from the production environment once the dashboard is migrated?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 3 days ago
Marieke Goethals [SLC] [DevOps Catalyst] commented 18th April 2025

Hi Anna,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer that has been most helpful for you (using the ✓ icon)?

Marieke Goethals [SLC] [DevOps Catalyst] commented 3 days ago

As this question has now been inactive for a very long time, I will close it. If you still want more information about this, could you post a new question?

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Wout Mahieu [SLC] [DevOps Catalyst]8.69K Posted 7th November 2024 1 Comment

Hi Anna

Recently we have developed a new datatype, named ‘variables’, that can be used for exactly this use case. Variables can be used to create a single (constant) value that can be used all over the dashboard. Changing this value would then change it everywhere that it is used. In your use case you could then create 2 variables (server ID & element ID) that can be used in all queries. This feature will be available from DataMiner 10.3.0 [CU21], 10.4.0 [CU9] & 10.4.12 onwards.

In older versions, there is no easy way to do this. An options could be to look at the saved file (C:\Skyline DataMiner\dashboards\FOLDER NAME\DB NAME.dmadb.json) for the dashboard and use a find & replace there for these values. Note that this can very easily break configurations.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 3 days ago
Anna Carlsson [DevOps Member] commented 7th November 2024

Thank you! This option seems to be very helpful.

0
Miguel Obregon [SLC] [DevOps Catalyst]19.60K Posted 7th November 2024 0 Comments

Hi Anna,

As far as I know there is no easy way to modify the IDs. In other integrations we created scripts that will go through the dashboards (JSON files) and update the ID where required. However, I would not recommend this approach since it is prone to errors.

In the meantime, I would suggest to review the GQI queries that you are using in your dashboard. If the native data sources don’t allow you to pass an element name as reference, then you could create an adhoc data source as alternative.

Hope it helps.

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 7th November 2024
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