I have a protocol where I want to show a message in a messagebox but if I trigger the QAction, the messagebox doesn't show up. I see in logging that the trigger goes off. Does anyone know what is wrong here? For reference, I'm using Dataminer 10.1.8.
Thanks in advance!
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best
Hi Gauthier
Did you verify the notes that are related to the ShowInformationMessage method defined in our Protocol Development Library?
Example scenarios that are supported:
- Write parameter that triggers a QAction
- Context menu
Example scenarios that are not supported:
- Protocol.SetParameter or Protocol.CheckTrigger that starts a new QAction
- After Startup QAction
- A read parameter that was set using setter=true
Hope this will help you out.
Kind regards
Marieke Goethals [SLC] [DevOps Catalyst] Edited answer
Hi Michiel
Thanks for answering my question. I tested with a standalone button, a table button and a context menu. The tests I did should fall under the supported scenarios.
Kind regards