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
    • 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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to get table parameter names using table parameter ids – automation script

580 views28th March 2025#automationscript Automation script get parameters Parameter Description
2
Baranisudha Murugesan784 12th September 2024 1 Comment

I have list of PIds which belong to table of Titan decoder. Using these PIds i want to get the parameter name. For example in Decoder overview table,

PID – 1112

Parameter name – Decoding

Im trying to find extension methods to find this, but we can only get value of those PID. If someone can help me with this, it would be great.

Marieke Goethals [SLC] [DevOps Catalyst] Posted new comment 28th March 2025
Marieke Goethals [SLC] [DevOps Catalyst] commented 28th March 2025

I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer that has been most helpful for you (using the ✓ icon)?

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Laurens Moutton [SLC] [DevOps Enabler]8.84K Posted 24th January 2025 0 Comments

Hi,

To provide an answer based on the comment on the answer of Miguel.

If the protocolName and protocolVersion is available and based on this the GetProtocolInfoResponseMessage is retrieved, then this response message contains the needed information.

When there is GetProtocolInfoReponseMessage protocolInfo available, then protocolInfo.Parameters contains a collection of all parameters. In this case, the most interesting properties are: ID (=parameter ID), Description (=displayed name of the parameter). A table parameter will have IsTable = true. A table column parameter will have IsTableColumn = true and ParentTablePid will refer to the parent ID of the parameter it belongs to (or ParentTable property provides direct access to the parameter definition of the table it belongs to).

There is no straight forward message to have a mapping between parameter IDs and their names, but by iterating the protocolInfo.Parameters collection and a bit of puzzling should result into seeing the tables and their column names and pids.

DISCLAIMER: be careful when using _engine.SendSLNetSingleResponseMessage as it can have far-reaching consequences on the functionality of your DataMiner System.

Regards,

Laurens Moutton [SLC] [DevOps Enabler] Answered question 24th January 2025
0
Miguel Obregon [SLC] [DevOps Catalyst]19.15K Posted 12th September 2024 2 Comments

Hi Baranisudha,

I am not sure if there is a method that can provide the parameter name from a parameter ID. For example, when triggering an automation script from a correlation rule, we have a workaround to pass the parameter name to the automation script.

A possible option could be using web services. There is a method GetParameterInfo that will return a DMAParameterInfo object that contains the parameter name.

Hope it helps.

Laurens Moutton [SLC] [DevOps Enabler] Posted new comment 24th January 2025
Baranisudha Murugesan commented 13th September 2024

What im trying to do is, from LCA Im getting protocol name, using that Im fetching service params and table pids by below code. Now i want user to choose necessary table columns as per need. So i want to get table columns. In this case i wont have dmaId, element id. Im just having protocol name.

This is how i get service params and table details from protocol:

GetProtocolMessage getProtocolRequest = new GetProtocolMessage(protocolName, protocolVersion);
var protocolInfo = _engine.SendSLNetSingleResponseMessage(getProtocolRequest) as GetProtocolInfoResponseMessage;

currently im trying to get table definitions using below code but getting object reference error:

GetTableDefinitionMessage table = new GetTableDefinitionMessage(columnName);
var tableInfo = _engine.SendSLNetSingleResponseMessage(table) as GetTableDefinitionResponse;

Laurens Moutton [SLC] [DevOps Enabler] commented 24th January 2025

As my response was getting a bit lengthy, I've provided this in a new answer to make it more readable.

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