Outlook VSTO plugin disable meeting response button

%3CLINGO-SUB%20id%3D%22lingo-sub-1086397%22%20slang%3D%22en-US%22%3EOutlook%20VSTO%20plugin%20disable%20meeting%20response%20button%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1086397%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20develop%20a%20meeting%20management%20system.%20I%20would%20like%20to%20start%20the%20meeting%20via%20a%20custom%20Outlook%20plugin.%20So%20I%20developed%20a%20plugin%20to%20save%20the%20meeting%20into%20my%20web%20application%20and%20Outlook.%20Besides%2C%20I%26nbsp%3B%20would%20like%20to%20collect%20the%20meeting%20request%20responses%20via%20this%20plugin.%20I%20added%20three%20custom%20buttons%20into%20the%20ribbon%20for%20Accept%2C%20Reject%2C%20Tentative%20events%20instead%20of%20their%20default%20button.%20If%20the%20meeting%20has%20custom%20user%20property%20which%20specified%20to%20send%20by%20custom%20form%2C%20I%20hide%20the%20default%20buttons%20and%20show%20the%20custom%20button%20in%20the%20ribbon.%20But%20the%20default%20buttons%20are%20in%20the%20reading%20pane.%20I%20can%20not%20change%20the%20visibility%20of%20those%20buttons%20in%20the%20reading%20pane.%20I%20tried%20some%20of%20the%20other%20methods%20to%20achieve%20this%20like%20below.%3C%2FP%3E%3CP%3E1-%20I%20tried%20to%20handle%20the%20ItemSend%20event.%20If%20the%20received%20message%20is%20a%20MeetingItem%2C%20I%20checked%20what%20the%20response%20is.%3C%2FP%3E%3CP%3E2-%20I%20tried%20to%20access%20the%20Actions%20of%20MeetingItem%20and%20change%20the%20enable%20status%20of%20those%20Actions.%20But%20The%20MeetingItem%20has%20Reply%2C%20Reply%20to%20All%20and%20Forward%20actions.%20There%20were%20not%20the%20actions%20Accept%2C%20Reject%20or%20Tentative.%3C%2FP%3E%3CP%3E3-%20I%20checked%20the%20InlineResponse%20and%20InlineResponseClose%20events.%20Although%20there%20is%20an%20event%20description%20in%20which%20the%20event%20will%20fire%20when%20the%20user%20sends%20the%20inline%20response%20in%20the%20documentation%20page(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice%2Fvba%2Fapi%2Foutlook.explorer.inlineresponseclose%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice%2Fvba%2Fapi%2Foutlook.explorer.inlineresponseclose%3C%2FA%3E)%2C%20the%20event%20has%20not%20been%20fired.%26nbsp%3B%3C%2FP%3E%3CP%3E4-%20I%20tried%20to%20access%20the%20ReadingPange%20objects%20of%20the%20Panes%20of%20ActiveExplorer.%20While%20I%20am%20debugging%20the%20code%2C%20the%20visual%20studio%20redirects%20to%20me%20the%20outlook%20interface%2C%20as%20if%20it%20can%20not%20read%20the%20line.%3C%2FP%3E%3CP%3E5-%20I%20tried%20to%20change%20the%20flow%20of%20the%20app.%20I%20sent%20a%20MailItem%20instead%20of%20MeetingItem%20to%20the%20Attendees.%20But%20I%20created%20a%20MeetingItem%20and%20saved%20it%20to%20the%20calendar%20of%20the%20requestor%20as%20well%20as%20I%20sent%20the%20MeetingItem%20with%20MaillItem%20as%20UserProperty%20which%20is%20a%20type%20of%26nbsp%3BOutlook.OlUserPropertyType.olOutlookInternal.%20But%20it%20gives%20the%20error%20as%20%22This%20type%20is%20not%20supported%22%20while%20debugging.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20let%20me%20know%20what%20I%20can%20do%20or%20if%20you%20have%20any%20other%20suggestions%20for%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi,

I develop a meeting management system. I would like to start the meeting via a custom Outlook plugin. So I developed a plugin to save the meeting into my web application and Outlook. Besides, I  would like to collect the meeting request responses via this plugin. I added three custom buttons into the ribbon for Accept, Reject, Tentative events instead of their default button. If the meeting has custom user property which specified to send by custom form, I hide the default buttons and show the custom button in the ribbon. But the default buttons are in the reading pane. I can not change the visibility of those buttons in the reading pane. I tried some of the other methods to achieve this like below.

1- I tried to handle the ItemSend event. If the received message is a MeetingItem, I checked what the response is.

2- I tried to access the Actions of MeetingItem and change the enable status of those Actions. But The MeetingItem has Reply, Reply to All and Forward actions. There were not the actions Accept, Reject or Tentative.

3- I checked the InlineResponse and InlineResponseClose events. Although there is an event description in which the event will fire when the user sends the inline response in the documentation page(https://docs.microsoft.com/en-us/office/vba/api/outlook.explorer.inlineresponseclose), the event has not been fired. 

4- I tried to access the ReadingPange objects of the Panes of ActiveExplorer. While I am debugging the code, the visual studio redirects to me the outlook interface, as if it can not read the line.

5- I tried to change the flow of the app. I sent a MailItem instead of MeetingItem to the Attendees. But I created a MeetingItem and saved it to the calendar of the requestor as well as I sent the MeetingItem with MaillItem as UserProperty which is a type of Outlook.OlUserPropertyType.olOutlookInternal. But it gives the error as "This type is not supported" while debugging.

 

Please let me know what I can do or if you have any other suggestions for this.

0 Replies