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

GQI script Parameter Description

Solved142 views5th June 2025automation scipt GQI script
6
Timothy Van Poucke [SLC] [DevOps Enabler]1.30K 4th June 2025 0 Comments

Hi Dojo,

I'm working on a GGQI script, in the script we get a DOM resource, from the resource I get an element, depending on which pool it is I want to display a number of parameters (PIDs hardcoded) with their values and alarm level. I already have a lot:

public List<GQIRow> GetRows()
{
var rows = new List<GQIRow>();

string dmaId = _arguments.Resource.Info.LinkedElementInfo;
var element = _arguments.Dms.GetConnection().GetDms().GetElement(new       DmsElementId(dmaId));

var VirtualResourceDirectoryParam = element.GetStandaloneParameter<string>(596);

string paramName = ????
rows.Add(new GQIRow(paramName, new[] {
new GQICell{ Value = paramName},
new GQICell{ Value = VirtualResourceDirectoryParam.GetValue() },
new GQICell{ Value =  VirtualResourceDirectoryParam.GetAlarmLevel().ToString()},
new GQICell{ Value = "TBD" },
}));
return rows;
}

Getting the pool is also not an issue but I don't know how I could get the parameter description, any suggestions?

Timothy Van Poucke [SLC] [DevOps Enabler] Selected answer as best 5th June 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Tom Waterbley [SLC] [DevOps Catalyst]8.95K Posted 4th June 2025 1 Comment

Hi Timothy,

If you know the protocol name and version, you can use GetProtocolMessage to retrieve all the information about the protocol.

var message = new GetProtocolMessage(element.Protocol.Name, element.Protocol.Version);
var result = (GetProtocolInfoResponseMessage)gqiDms.SendMessage(message);

var allParameters = result.AllParameters;

For more details, see the documentation here:

https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Net.Messages.GetProtocolInfoResponseMessage.AllParameters.html

Timothy Van Poucke [SLC] [DevOps Enabler] Selected answer as best 5th June 2025
Timothy Van Poucke [SLC] [DevOps Enabler] commented 5th June 2025

Thanks! as I have my element I can use
GetProtocolMessage getProtocolMessage = new GetProtocolMessage(element.Protocol.Name, element.Protocol.Version);
var protocolInfo = (GetProtocolInfoResponseMessage)_arguments.Dms.SendMessage(getProtocolMessage);

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