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!
Hi Gauthier
To complete this question, due to a bug in DataMiner 10.1.8 the Protocol.ShowInformationMessage() was not working as intended. This issue is fixed in DataMiner 10.1.10: DataMiner v10.1.10 Release Notes - DataMiner Dojo
Kind regards
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
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