Hi Jakub,
I do not believe I need the sample as I was able to get my button to show on the InteractionBarBundleToolbarRegion.
However, now my Case information window no longer opens automatically. I have to click on the toolbar area to get my case information to now appear. (I provided a screenshot of the area i have to click on to get the case information to open). I need the case information to open automatically like it was prior to adding a button.
I added the below line of code to the eventhandler for the Interaction event.
if (interaction is IInteractionChat || interaction is IInteractionInboundEmail || interaction is IInteractionVoice){
viewManager.ViewsByRegionName["InteractionBarBundleToolbarRegion"].Add(new ViewActivator() { ViewType = typeof(IMyButtonView), ViewName = "MyButtonView", ActivateView = true });
}
Do you know why this would keep my case information for opening up immediately or is there something I need to add?
Thanks