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

Select parameter on table

Solved47 views2 days agodriver protocol script protocolFilter table
2
Jose Araujo [DevOps Advocate]217 2 days ago 0 Comments

Hi,

I'm stuck trying to solve this issue. In the "Chunk" column of my table, I created a toggle button that's linked to a QAction. This QAction needs to send a request to the following API endpoint:http://x.x.x.x/api/v1/servicesmngt/services/{UID}

The problem is: how can I get the UID from the same row where the toggle button was clicked?

For example, if I click the green toggle button in the row with UID = c1d02328-b5db-4c50-9c4d-3bae0d0d49d0, I want the QAction to use this specific UID

http://x.x.x.x/api/v1/servicesmngt/services/c1d02328-b5db-4c50-9c4d-3bae0d0d49d0
How can I pass the UID from the selected row to the QAction when the green toggle button is clicked?

Thanks

Jose Araujo [DevOps Advocate] Selected answer as best 2 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Geovanny Galeano [SLC] [DevOps Advocate]760 Posted 2 days ago 1 Comment

Hi Jose,

Your QAction needs to have the row="true" attribute. This will allow you to identify which row triggered it.

row attribute | DataMiner Docs

Then inside of your QAction add this line which will get you the primary key for the row that you pressed the button for.

string primaryKey = protocol.RowKey();

Jose Araujo [DevOps Advocate] Posted new comment 2 days ago
Jose Araujo [DevOps Advocate] commented 2 days ago

Hi Geovanny,

Thanks for your help

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