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

response using GetElementByNameMessage

Solved207 views21st April 2026
2
Juan Falcon242 20th April 2026 0 Comments

hello

how can i use the GetElementByNameMessage? i cant find the type to asing on the responde.
GetElementByNameMessage elementVariable = new GetElementByNameMessage();
elementVariable.ElementName = Name;
var responseGetElementy = _dms.SendMessage(elementVariable) as xxxxxxx;

exist a document or manual to uses message?

Thanks
Juan

Juan Falcon Selected answer as best 21st April 2026

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Thomas Cauwelier [SLC] [DevOps Advocate]1.85K Posted 20th April 2026 5 Comments

Hi Juan,

The response is of type ElementInfoEventMessage (when sent via _dms.SendSingleResponseMessage, otherwise the response is DMSMessage[] containing a single ElementInfoEventMessage)

NOTE: SLNet messages are not guaranteed to have a stable API.

Consider using a better supported alternative: IDms.GetElement(string) from the dataminersystem library.

See: About the DataMinerSystem library

Juan Falcon Selected answer as best 21st April 2026
Juan Falcon commented 20th April 2026

Hi Thomas

How can i define the IDms object in GQI? in protocol i use protocol,GetDms()

Thanks

Gelber Mahecha [SLC] [DevOps Enabler] commented 20th April 2026

Hi Juan,

In a GQI, you can obtain a reference to IDms within the OnInit Method:

public OnInitOutputArgs OnInit(OnInitInputArgs args)
{
// Initialize the data source
// See: https://aka.dataminer.services/igqioninit-oninit
_dms = args.DMS.GetConnection().GetDms();
}

Juan Falcon commented 20th April 2026

Thomas

on the public inInit the args.DMS has no contains "Getconnection()" could it be for version of libraries or have to install some one on Nuget?

Tom Waterbley [SLC] [DevOps Enabler] commented 21st April 2026

Hi Juan,
The GetConnection method was added in DataMiner 10.4.6/10.5.0, could it be that you're using an older version of the NuGet?
https://docs.dataminer.services/develop/devguide/GQI_Extensions/API_Reference/GQIDMS.html#iconnection-getconnection

Juan Falcon commented 21st April 2026

Thanks Tom, i update the Skyline.DataMiner.Files.SLAnalyticsTypes from the Nuget and works ok.

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