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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to dmimport view/elements with destination DmaId?

Solved993 views7th February 2023dma id dmimport
2
Guilherme Gaspar [SLC] [DevOps Advocate]539 14th January 2022 3 Comments

I exported some view/elements from a Dataminer ID = X.

I want to import them to another Dataminer, via .dmimport, but I want the imported elements, views, everything,.. to have the DMAID of the destination DMA, and not of the source DMA.

Guilherme Gaspar [SLC] [DevOps Advocate] Selected answer as best 7th February 2023
Jens Vandewalle [SLC] [DevOps Enabler] commented 16th January 2022

What’s the reason to have the ID of the destination DMA assigned? If we understand the purpose we might be able to provide another solution.

Alberto De Luca commented 17th January 2022

If you just want to target which agent is actually hosting the element, no need to look at the DMA id, you can refer to the “DataMiner” column of the Element view: the element ID, by design, has the the DMA id of the DMA where the element was created – it’s no longer where the element is, but just where it was created.

I guess this changed when DELT was introduced – the advatage is you can create a full set on a staging system and then export to a production environment (elements will keep the DMA id of the staging in that case).

Guilherme Gaspar [SLC] [DevOps Advocate] commented 18th January 2022

The reason to have the ID of the destination DMA assigned is to match the whole configuration of the destination DMA: other elements parameters, databases data, etc. By having elements with different DMA ids, I have to change everything manually, assuming it’s even possible.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Miguel Obregon [SLC] [DevOps Catalyst]18.56K Posted 14th January 2022 1 Comment

Hi Guilherme,

The behavior that you are describing is expected. A .dmimport package will keep the IDs of the source DMA. This behavior is to keep consistency with the information that you can include in the DMA (e.g. in a .dmimport package you can include alarm and trend data). If we allow changing the IDs, we will also need to update all the records from the alarm and trend data, which is not a good approach.

In case you are only interested in provisioning elements (without including any data), you could use the CSV import/export option (Import/Export elements from/to a CSV file)

Currently there is no out-of-the-box functionality to import/export views. However, you can create an automation script for that purpose. For example, your automation script can read a CSV file with the views to be created and use the DIS class library (e.g CreateView) to create the views.

Guilherme Gaspar [SLC] [DevOps Advocate] Selected answer as best 7th February 2023
Alberto De Luca commented 17th January 2022

Upvoting this answer.

On a related note, if you need to keep track of the allocated agent, a workaround was suggested here by Laurent:
https://community.dataminer.services/question/delt-element-id-dma-id-and-dataminer-agent-any-way-to-keep-the-polling-dma-in-the-exported-csv/

However this cannot be used to import on the desired agent – but I guess the CSV import can be then segmented into multipe imports, thus uploading your elements agent by agent.

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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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

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