outlook-addin

Outlook add-in : Inconsistent @odata.type for .msg files

泪湿孤枕 提交于 2020-06-27 06:20:19
问题 Since shared mailbox is not supported via EWS, which we used for downloading .msg (ItemAttachments) and all other attachments were downloaded over REST We updated the outlook add-in to filter any 'ItemAttachments' and display them as un-supported for shared mailbox, which works fine. But while testing, I found that some .msg files were being downloaded via REST which was surprising and a concern. Finally got to re-create and found that: When a mail is dragged and dropped within outlook into a

ADD-IN ERROR - This add-in cloud not be started. - CRITICAL

╄→гoц情女王★ 提交于 2020-06-24 16:47:22
问题 I have notice this error happens for ALL modern Outlook Office Add-ins. Searching the net I can also see that many other Modern Outlook Add-ins are having the same issue. We know that this is an Outlook Client issue. You never get the error on OWA. I have also seen that Microsoft are suggesting Open Internet Explorer Click Tools Click Internet Options Click Security tab Select Internet Sites zone Select Enable Protected Mode (make sure box is un checked) Click OK Restart Internet Explorer and

ADD-IN ERROR - This add-in cloud not be started. - CRITICAL

▼魔方 西西 提交于 2020-06-24 16:46:58
问题 I have notice this error happens for ALL modern Outlook Office Add-ins. Searching the net I can also see that many other Modern Outlook Add-ins are having the same issue. We know that this is an Outlook Client issue. You never get the error on OWA. I have also seen that Microsoft are suggesting Open Internet Explorer Click Tools Click Internet Options Click Security tab Select Internet Sites zone Select Enable Protected Mode (make sure box is un checked) Click OK Restart Internet Explorer and

How to detect other outlook events such as “Forward as attachment”, “Reply with Meeting”

六月ゝ 毕业季﹏ 提交于 2020-06-02 04:01:19
问题 Out of the box outlook provides the following: ((Outlook.ItemEvents_10_Event)this._mailItem).Reply += new Outlook.ItemEvents_10_ReplyEventHandler(MailItem_Reply); ((Outlook.ItemEvents_10_Event)this._mailItem).ReplyAll += new Outlook.ItemEvents_10_ReplyAllEventHandler(MailItem_ReplyAll); ((Outlook.ItemEvents_10_Event)this._mailItem).CustomAction += new Outlook.ItemEvents_10_CustomActionEventHandler(MailItem_CustomAction); ((Outlook.ItemEvents_10_Event)this._mailItem).Forward += new Outlook

VSTO Outlook Plugin: Cannot get AppointmentItem in Item_Change event when recurring appointment is dragged and dropped by user

こ雲淡風輕ζ 提交于 2020-05-24 07:28:46
问题 I want to catch the change event on an AppointmentItem. I use Outlook 2017 for tests. To achieve I use: I attached the events like this: public void AttachEvents() { _CalendarItems.ItemAdd += Item_Add; _CalendarItems.ItemChange += Item_Change; _DeletedItems.ItemAdd += Item_Delete_Add; The Item_Change method looks like this: public void Item_Change(Object item) { if (item != null && item is Outlook.AppointmentItem) { Outlook.AppointmentItem myAppointment = item as Outlook.AppointmentItem; To

Outlook VSTO Handling SelectionChange correctly (currently doubleclick crashes Addin)

好久不见. 提交于 2020-05-17 05:56:08
问题 From what I understand you need to track Activation and Deactivation of the Explorers. During activation, you need to add SelectionChange event handlers for the current explorer. This seems to work perfectly for single clicks on AppointmentItems. But it crashes the Addin when double-clicking on an appointment series and selecting a single Appointment. Here is the source: On class level private Outlook.Explorer currentExplorer = null; private Outlook.AppointmentItem currentAppointmentItem =

MailItem.HtmlBody throws a Not Implemented exception

只谈情不闲聊 提交于 2020-05-15 08:03:09
问题 I have a ribbon button that inserts text into an outlook Inspector by modifying the MailItem object based on the recipients in it. The method that gets called on click looks like this: public async void OnTemplateClick(Office.IRibbonControl control) { var templateId = control.Tag; var template = templates.GetTemplateById(templateId); await templateUi.SetTemplate(control.Context, template); } the SetTemplate method looks like this: public async Task SetTemplate(object window, Template template

Is it possible to have more than one custom tab for the office ribbon?

雨燕双飞 提交于 2020-05-11 06:30:47
问题 I can not find any documentation to verify this or any working examples I want to achieve something like this xml below, but I think this really is not possible. <customUI onLoad="Ribbon_Load" xmlns="http://schemas.microsoft.com/office/2010/01/customui"> <ribbon> <tabs> <tab idMso="TabAddIns" label="Ribbon1"> </tab> <tab idMso="TabAddIns" label="Ribbon2"> </tab> </tabs> </ribbon> </customUI> 回答1: You can have multiple tabs, if you are using exiting tabs then set idMso="exiting tabids"

Is it possible to have more than one custom tab for the office ribbon?

好久不见. 提交于 2020-05-11 06:30:07
问题 I can not find any documentation to verify this or any working examples I want to achieve something like this xml below, but I think this really is not possible. <customUI onLoad="Ribbon_Load" xmlns="http://schemas.microsoft.com/office/2010/01/customui"> <ribbon> <tabs> <tab idMso="TabAddIns" label="Ribbon1"> </tab> <tab idMso="TabAddIns" label="Ribbon2"> </tab> </tabs> </ribbon> </customUI> 回答1: You can have multiple tabs, if you are using exiting tabs then set idMso="exiting tabids"

Outlook Addin: Moving Appointment in Calendar does not reflect new date/time in AppointmentItem (catch Calendar.ItemChange)

青春壹個敷衍的年華 提交于 2020-04-18 07:14:29
问题 i am trying to develop an Outlook Addin which updates a web services whenevery the ser moves an appointment (with drag and drop) in his calendar. In my VSTO based Outlook Addin (in Outlook 2016) my Item_Change gets fired when the user moves the calendar item around. But when I inspect the AppointmentItem which I get as a parameter of the call to public void Item_Change(Object item) { Outlook.AppointmentItem myAppointment = item as Outlook.AppointmentItem; the myAppointment.StartUTC still