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

ShowInformationMessage not working

Solved440 views27th January 2025
7
Carys Blackburn [DevOps Advocate]623 3rd January 2025 8 Comments

Hi Dojo,

I am trying to use protocol.ShowInformationMessage(); but it doesn’t seem to be working.

The DataMiner version is 10.4.12.0 and it is being triggered by a Context Menu, which should work according to this documentation:

https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Scripting.SLProtocol.ShowInformationMessage.html?q=ShowInformationMessage

Are you please able to advise?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 27th January 2025
Sebastian Ulloa [SLC] [DevOps Advocate] commented 3rd January 2025

Hi Carys,

Is the QAction doing something else besides the ShowInformationMessage()? If so, is that other code being executed?

If no other code is being executed, maybe you are missing row="true" option in the QAction.

Edib Šupić [SLC] [DevOps Catalyst] commented 5th January 2025

Hi Carys,
If Sebastians suggestion doesn't work, could you please provide the code you are executing?

Carys Blackburn [DevOps Advocate] commented 6th January 2025

Thanks Sebastian and Edib! I have tried adding row="true" but now the QAction doesn't seem to be running at all?
The QAction holds the Context Menu information and also sends a post request, do you think this could be a reason why ShowInformationMessage() isn't working?

Edib Šupić [SLC] [DevOps Catalyst] commented 6th January 2025

Hi Carys,
if adding row="true" makes your QAction not run you should remove it, Sebastian was wondering if the QAction was being triggered at all.

Regarding the fact that QAction sends post request:
This is most likely the reason, if the flow goes User Interaction -> QAction starts -> Request is sent(through protocol) -> QAction continues -> ShowInformationMessage() is called, it won't work. Reason for that is that QAction was not triggered directly by user interaction, at least not the second time.

Can you move your ShowInformationMessage before the post request is sent in order to verify the theory and if it works we can figure out a workaround.

Carys Blackburn [DevOps Advocate] commented 6th January 2025

Ah that makes sense thank you!
I tried adding it before the post request but it still doesn't work. I've also tried adding it to a QAction that is triggered by a button but that didn't work either, which seems strange

Show 3 more comments

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Edib Šupić [SLC] [DevOps Catalyst]2.10K Posted 20th January 2025 0 Comments

Hi Carys,

Did you manage to resolve your issue?

Cheers

Edit:

As there hasn’t been an update on this for a long time we will consider this solved. Main takeaway of for this question would be to use logging to understand the execution path and to make sure to use fresh SLProtocol whenever using ShowInfoMessage method. Meaning that QAction was triggered directly by user interaction and SLProtocol doesn’t get replaced by another instance created by some other trigger.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 27th January 2025
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