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
    • 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
      • 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

ImportRequestMessage options for importing .dmimport files with replace

Solved57 views6 hours agoExport/Import SLNet
0
Julien Vermeulen [SLC] [DevOps Advocate]156 1 day ago 0 Comments

Hi,

I'm using the InstallScript of an automation script to import multiple .dmimport files into a DMS. This is done via a SLNET call using ImportRequestMessage, where I provide the filename of the .dmimport file to create elements, protocols, and templates.

This works well for initial imports. However, when I try to update existing protocols or elements by running the script again, I receive an info message like:

" already exists, skipping import"

To resolve this, I tried to configure the options to ensure existing elements, protocols, and templates are always replaced. I looked into the SLNET message generated when performing the import manually via Cube, selecting the "Replace existing files" option in the dialog. However, I couldn't inspect the contents of the specificOptions list objects (see attached screenshot).

Does anyone know what values I should pass in the specificOptions of the ImportRequestMessage to ensure that existing items are properly overridden during import?

Julien Vermeulen [SLC] [DevOps Advocate] Selected answer as best 6 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Robbe De Ghein [SLC] [DevOps Advocate]1.19K Posted 1 day ago 0 Comments

The specific options are not what you need. They are the same as regular options, just overriden for a specific instance of the type.

E.g. apply these options for all elements except element 123/456 which has these options instead...

What you need is to set the regular options with the correct flags you need.

The magic numbers you see and "cannot inspect" are enum flags combined together in an integer. The specific option flag depends on the delt type.

Example for type DELTType.DELT_ELEMENT are the flags in DELT_ELEMENT_OPTIONS.
There you will need option DELT_ELEMENT_IMPORT_OVERRIDE for your use case.

Julien Vermeulen [SLC] [DevOps Advocate] Selected answer as best 6 hours ago
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

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