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 your 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

Get dataminer Host link, agent id and agent name using automation script

174 views4 hours agoagents Automation script DataMinerAgent
2
Baranisudha Murugesan [DevOps Member]1.19K 17th August 2026 0 Comments

There is a way to get list of agents available through DMS. But I want to find the particular agent from which the script is running. dms.GetAgent(int) method needs current agent id to be passed to fetch the details.

Is there any way to get Hostlink, agent Id and agent Name in which the automation script is deployed/accessed from?

Baranisudha Murugesan [DevOps Member] Changed status to publish 4 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Bautista Solanet [SLC] [DevOps Advocate]1.15K Posted 17th August 2026 1 Comment

Hello Baranisudha,

If you get the connection when you script is running, either through IEngine.GetUserConnection() or IDms.Communication.SlNetConnection, you can the ServerDetails from the connection. This object contains the ID, IP, and Name or the connected agent which the script is working on.

Here's the page in the docs for this object: Class ServerDetails | DataMiner Docs.

I hope this helps you,

Bauti

Baranisudha Murugesan [DevOps Member] Posted new comment 4 hours ago
Baranisudha Murugesan [DevOps Member] commented 4 hours ago

I have got the agent details in this. Now i also need Host link to make the user navigate to the DMA from email. Is there any property to get Hostlink from IDms or engine objects?

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

© 2026 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