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

GetParameterByPrimaryKey Wildcard

Solved200 views20th February 2026Automation action automation scipt GetParameterIndexByKey method
4
Ryan Hepworth [DevOps Advocate]1.53K 19th February 2026 0 Comments

Hi All,

I am trying to get a parameter in an AS, however the primary key can change, the first half always remains the same, just the last half changes.

Does anyone know a way of retrieving a parameter value by wildcarding the 2nd half of the primary key as the first half is the only bit that always stays the same.

Thanks

Ryan

Ryan Hepworth [DevOps Advocate] Selected answer as best 20th February 2026

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Felix Wesemeier [DevOps Catalyst]2.39K Posted 19th February 2026 1 Comment

Hi Ryan,

I don't know if there's a direct method for this.

One possibility would be getting all keys with GetTablePrimaryKeys https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Automation.ScriptDummy.GetTablePrimaryKeys.html and then try to find the substring you are looking for. e.g. Loop with String Contains or without a loop with a List contains check.

Once you have the full Primary Key you could use the normal methods to get/set a parameter in an automation script.

Ryan Hepworth [DevOps Advocate] Selected answer as best 20th February 2026
Ryan Hepworth [DevOps Advocate] commented 20th February 2026

Hi Felix,

This is the method I have used, i was curious if there was another but after playing around it seems to be the only way.

Thanks

You are viewing 1 out of 1 answers, click here to view all answers.
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