I am having a outlook plugin, where I am trying to capture button click of meeting attendee's action like Accept / Decline which works through commands I have configured in the ribbon xml. However, after my custom logic gets executed default button logic (Accept / Decline ) is not getting executed.
I have removed all my custom code but still accept / decline doesn't work. Meeting window remains open and I can see that my handler code is getting executed.
Below is my configuration and code. Please note I have referred this link (https://social.msdn.microsoft.com/Forums/office/en-US/b2c43b61-f9bd-4907-8c60-b6f7f231ef26/get-the-meeting-replied-details-in-outlook-vsto?forum=outlookdev) where similar issue was reported very long back but that worked after adding ref with cancel and removing break point however, with my case it doesn't work. I have Office 365 version 2202.
Ribbon xml commands configuration:
<commands>
<command idMso="AcceptInvitationNoResponse" onAction="HandleAcceptMeetingResponse"/>
<command idMso="DeclineInvitationNoResponse" onAction="HandleDeclineMeetingResponse"/>
</commands>
public void HandleAcceptMeetingResponse(Office.IRibbonControl control, ref bool cancel)
{
cancel = false; //default getting cancel = true
}
Is there any issue with this version of outlook ? Is there any workaround for the same ?
Thanks,