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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

QAction is not executing

Solved714 views26th April 2024QAction view tables
1
Ömer Eryaman [DevOps Advocate]476 24th April 2024 0 Comments

Hi,

i have a QAction:

<QAction id="100" name="show me the data" encoding="csharp" triggers="4002" row="true">

After adding (row="true") and specify in the QAction ( string sRowKey = protocol.RowKey();)
the QAction is not executing. After deleting the row="true" the QAction works well.

QAction: 100
[....] try
{
protocol.ShowInformationMessage("u pressed me");
string sRowKey = protocol.RowKey();
}
[....]

My Table:

<Param id="1000">
<Name>Rails Monitor</Name>
<Description>shows the Rails and the Counts</Description>
<Type>array</Type>
<ArrayOptions index="0">
<ColumnOption idx="0" pid="1001" type="retrieved" options=""/>
<ColumnOption idx="1" pid="1002" type="retrieved" options="" />
<ColumnOption idx="2" pid="1003" type="retrieved" options="" />
</ArrayOptions>
<Information>
<Subtext>Requesting Data with API-Calls </Subtext>
</Information>
<Display>
<RTDisplay>true</RTDisplay>
<Positions>
<Position>
<Page>Layouts</Page>
<Column>0</Column>
<Row>7</Row>
</Position>
</Positions>
</Display>
<Measurement>
<Type options="tab=columns:1001|0-1002|1-1003|2,width:100-141-173,sort:STRING-STRING-STRING,lines:25,filter:true">table</Type>
</Measurement>
</Param>

Did I miss something ?

Thanks in advance

Ömer Eryaman [DevOps Advocate] Selected answer as best 26th April 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
6
Ana Pinho [SLC] [DevOps Advocate]1.33K Posted 24th April 2024 6 Comments

Hi!

I see that the QAction is being triggered by triggers="4002". What is that? Is that a single parameter?

For the row="true" to work, the Qaction needs to be triggered by a table or

From DataMiner 9.5.1 onwards, a read column parameter can be used as a trigger on a QAction with row=true option (RN 14050, RN 15531).

You can read more about the row attribute here.

Hope that helps!

Ömer Eryaman [DevOps Advocate] Selected answer as best 26th April 2024
Ömer Eryaman [DevOps Advocate] commented 25th April 2024

Hi,
thank you for this answer.
the trigger is a button outside the table.

As I understand the button must be an element of the table ? (inside the table)
Even it says if the row changes, but I don’t have any row currently.

My Table is empty and I want to add the first row with this function:
https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Scripting.SLProtocol.AddRow.html
“int AddRow(int tableId, string row)”

My scenario is that I want to fill the table with the button click. but the button is outside the table.

Robin Spruytte [SLC] [DevOps Advocate] commented 25th April 2024

row=”true” is only to be used if you execute logic from a row in a table (aka you need to know which row executed the logic, hence why you combine it with protocol.RowKey to find the key of that row). Since your button is not part of a table row, the row=”true” should not be used.

Ömer Eryaman [DevOps Advocate] commented 25th April 2024

Thanks,
I understand now, the button must be a part of the table.

Have you any idea how I can fill the table with the (outside the table) Button?
I found various functions for AddRow, SetParameterRow.

Ömer Eryaman [DevOps Advocate] commented 25th April 2024

I tried with the protocol.FillArray() function and it works for me now.

What could be other ways to fix this issue?

thanks

Robin Spruytte [SLC] [DevOps Advocate] commented 25th April 2024

There is no need to put the button in the table. All that matters is that you don’t need the row=”true” if the button is not in the table, because otherwise it will cause a conflict because the QAction is expecting row-specific logic.

Either way, the row=”true” button only matter on how the QAction is called, it does not change the functionality that can be used in the QAction itself.

Indeed you can use the FillArray method to fill a table with multiple rows. If you want to add/edit single rows, you can use AddRow and SetRow

To summarize: You have a button outside a table (ID: 100 for example). That calls a QAction which has trigger=”100″ and does NOT have the row=”true” because the button is not in a table row. In the QAction you collect or generate data and you can use FillArray to fill the table that mentioned

Show 1 more comments
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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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