outlook-addin

XML Schema Violation Office Add-in manifests

无人久伴 提交于 2019-12-06 13:48:46
问题 I have an outlook add in manifest file. I can upload it into my addin through Outlook online successfully. However, when I upload to https://sellerdashboard.microsoft.com I get this error message: XML Schema Violation: Your manifest does not adhere to the current set of XML schema definitions for Office Add-in manifests. (link: https://aka.ms/add-in-manifest-schema-violation) - Details: The element 'WebApplicationInfo' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides

Publishing Outlook add-in which uses Outlook preview element - SupportsSharedFolders

穿精又带淫゛_ 提交于 2019-12-06 13:35:37
I am developing Outlook add-in which will work with shared mailboxes. Currently, office add-ins are not available on delegate scenarios but MS has released preview build which supports these scenarios. https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/supportssharedfolders My problem is since the manifest.xml has preview elements; I can't upload the it at outlook.office365.com under my add-ins . I get following error. This app can't be installed. The manifest file doesn't conform to the schema definition. The element 'DesktopFormFactor' in namespace 'http://schemas

Outlook REST API Get MIME content of ItemAttachment with ReadItem permission

試著忘記壹切 提交于 2019-12-06 09:32:18
问题 The Outlook REST API we are trying to use is outlook.office.com/api/v2.0/me/messages{messageId}/attachments/{attachmentId}/$value to retrieve the raw contents of an ItemAttachment (contact, event, or message) in MIME format as described here https://docs.microsoft.com/en-us/graph/outlook-get-mime-message. Getting the MIME contents only works with the ReadWriteMailbox permission, but we would like it to work with ReadItem. We are able to retrieve FileAttachments without the elevated permission

How to get the CRM Entity Name from the Object Type Code of a RegardingID?

拟墨画扇 提交于 2019-12-06 07:20:53
So it seems that it is a fairly common question in CRM to try get the object type code when you have an entity name. But since I always have to do things the hard way, I have the reverse task: I have the object type code, and need to get the entity name. In general, the ultimate task is to take the the CRM regarding information on an email, and use it to query CRM for additional info. I can get the regardingID and the object type code easily. And for standard entities I can use a hardcoded lookup to get an entity name. But for custom entities, this won't work, as the object type code can be

OpenSharedItem for opening .MSG files showing Error in Outlook C#

一世执手 提交于 2019-12-06 07:20:21
I am using the following code to open the signed/unsigned Outlook messages and I display the content in WebBrowser control. Microsoft.Office.Interop.Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application(); var item = app.Session.OpenSharedItem(msgfile) as Microsoft.Office.Interop.Outlook.MailItem; string message = item.HTMLBody; app.Session.Logoff(); It is working fine for the first time the file is opening, but after closing the Outlook file trying to reopen the file it showing the following error: "Cannot open file: C:\tion.msg. The file may not exist, you may not have

PR_INTERNET_MESSAGE_ID returns blank when sending message

 ̄綄美尐妖づ 提交于 2019-12-06 06:37:10
I'm developing add-in for Outlook 2013,I'm struggling with PR_INTERNET_MESSAGE_ID , I could easily get PR_INTERNET_MESSAGE_ID on archiving incoming mails, but it returns nothing on sending mail. Any help would be appreciated! Thank you! here is my code string PR_INTERNET_MESSAGE_ID = "http://schemas.microsoft.com/mapi/proptag/0x1035001F"; Microsoft.Office.Interop.Outlook.PropertyAccessor pal = mailItem.PropertyAccessor; string Internet_Message_Id = pal.GetProperty(PR_INTERNET_MESSAGE_ID).ToString(); That property is only sent after the message is sent. Exchange 2010/2013 sets that property for

Visual Studio 2008 Outlook 2007 AddIn with WPF Window

99封情书 提交于 2019-12-06 04:59:30
I've not been able to find a whole lot on this anywhere. Let me start by saying I don't want to use the old Windows Form. I want to add a new WPF Window to my outlook 2007 addin project in visual studio 2008. The WPF Window template however does not show up. I was following this tutorial: http://msdn.microsoft.com/en-us/library/bb410039.aspx , which even had a picture of how you could add a new wpf window to your outlook 2007 addin. The only problem is that it is for visual studio 2005. Surely microsoft did not remove this ability from visual studio 2008. I must be doing something wrong. Does

How to tell when to use EWS vs rest API in Outlook Add-in

对着背影说爱祢 提交于 2019-12-06 04:52:12
Is it possible to tell either in the XML file or through OfficeJs if the add-in can use the REST API or if it needs to use the older EWS API? We have an Outlook add-in that needs to support OWA/O365 and Outlook 2016 with a stand alone exchange server. We are wondering if it is possible through the manifest XML file or through OfficeJs to detect the configuration of users account so we can properly access their content with the correct API. The only alternative I can see is to provide two separate add-ins for this, but I assume MS has a solution to this issue. There isn't a specific API for

ItemAdd event on a public folder on Exchange

空扰寡人 提交于 2019-12-06 03:49:39
问题 I have a problem with attaching an event handler to an ItemAdd event of a public folder. The problem is the event handler stops being called after a few successful calls. The code is trivial. I have a ThisAddIn class which creates an object which in turn attaches a function to the ItemAdd event in its constructor. The function just pops up a messagebox. Please point me in the right direction. I simply don't understand where to look for the error. Thank you in advance, Anatoly Here is the test

Uncaught TypeError: Cannot read property 'Version' of null in outlook-web-16.01.js

China☆狼群 提交于 2019-12-06 03:29:31
问题 outlook-web-16.01.js:13 Uncaught TypeError: Cannot read property 'Version' of null at Object.callback (outlook-web-16.01.js:formatted:4686) at rt (outlook-web-16.01.js:formatted:4272) This is what I get when I tried to use Office.context.auth.getAccessTokenAsync(function (result) { 回答1: After overriding everything inside <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1"> problem has solved. <VersionOverrides xmlns="http:/