I use customization modules with GIW v 8.1.401.69. With a userEvent listener in my custom module, I want to insert commands in differents chains depending on userEvent parameters. It work but not completely and I dont understand why. For example, I can succesfully insert in MediaVoiceReady but not in MediaVoiceNotReady. I dont receive any error, but I log show me that my commands are not all consider.
This is my code (vb.net) :
_commandManager.InsertCommandToChainOfCommandBefore("MediaVoiceReady", "UpdateTLibSignature", New List(Of CommandActivator)() From {
New CommandActivator() With {
.CommandType = GetType(CustomCommand.MediaVoiceReadyCommand),
.Name = "MediaVoiceReady"
}
})
_commandManager.InsertCommandToChainOfCommandBefore("MediaVoiceNotReady", "UpdateTLibSignature", New List(Of CommandActivator)() From {
New CommandActivator() With {
.CommandType = GetType(ChaineCommande.GenericCommandCC),
.Name = "MediaVoiceNotReady"
}
})
But, if I try the exact same code in the MediaVoiceLogOn/LogOn chain, both commands are execute.
Any ideas?
Thank you
#Implementation------------------------------
Alain Tanguay
Desjardins
------------------------------