outlook-web-addins

UI.displayDialogAsync() does not work in Outlook 2016 / Windows 10

元气小坏坏 提交于 2019-12-07 00:05:41
We build an Outloook Addin and are testing it across different platforms. It works on all the browsers (IE 11, Edge, Chrome and Safari), but not in the Outlook 2016 on Windows 10. We root cause it, looks like the problem is Office JS API UI.displayDialogAsync() . It does not open a dialog in Outlook 16 and the addin just hangs in there with the following progress message spinning forever, [Your Addin] is working onr your [Request] The closest thing we found on the Internet is this Stackflow post in which the answer says the oldest Outlook build that supports this API is 16.0.6741.0000. We are

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://outlook.office.com') does not match the recipient window's origin

元气小坏坏 提交于 2019-12-06 21:52:30
The following is the start of a file form a working MS Outlook web add-in. <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <title></title> <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.9.1.min.js" type="text/javascript"></script> <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js" type="text/javascript"></script> <link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0/fabric.min.css" /> <link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0/fabric

Can't get most email headers in Outlook Addin API

。_饼干妹妹 提交于 2019-12-06 16:33:48
问题 I'm trying to get all email headers from a selected Outlook email while inside an Outlook Addin. I've found the Preview API that should allow me to get the headers. This is what I have tried as of now Office.initialize = (reason) => { headerNames = ["Received-SPF"] Office.context.mailbox.item.internetHeaders.getAsync(headerNames, print); } print(asyncResult) { console.log(asyncResult.value); } The problem is when I start to put more headers, the API doesn't return them. The only ones I get

Outlook WebAddin is detected as contextual addin instead of ribbon addin

我的未来我决定 提交于 2019-12-06 15:34:20
问题 We have created Outlook Ribbon Webaddin. It is working as expected(ribbon Addin) and loading in top ribbon place. But for some customer, it is loading as contextual Addin. Manifest URL : https://www.backflipt.com/app/addin/Backflipt-Beta.xml Outlook diagnostics info : {"host" : "Outlook", "platform": "PC", "version": "15.0.0000.0000"} Is there any way outlook configuration affects manifest loading way? Check the below image(blurred for security reasons) : Green color section is the plugin

No event is fired when closing a dialog via ESC

佐手、 提交于 2019-12-06 14:05:28
问题 This issue is occurring using Outlook Web App on OSX. It has been replicated using Chrome, Firefox, and Safari. Scenario UI.displayDialogAsync() is used with the displayInIframe: true option. If a user hits the ESC key, the dialog will close but not trigger Office.EventType.DialogEventReceived . On top of this, the same dialog can not be opened again (probably because somewhere an opened flag is still set to true or something). Expected Behavior The dialog closes and emits an event with error

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

Office API call to getUserIdentityTokenAsync() returns a null token

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 13:27:34
问题 Our Outlook add-in runs successfully for our production clients except for one specific tenant. With this one tenant, the Office API call to getUserIdentityTokenAsync() returns a null token. Here is what I have determined from reviewing our logs: When they access the addin from the Mac Outlook client, getUserIdentityTokenAsync() returns "Status" = "failed" with error code "9017". When they access the addin from Chrome or Firefox, getUserIdentityTokenAsync() returns "Status" = "succeeded" but

Icons for Outlook addin not updating

不羁岁月 提交于 2019-12-06 11:58:45
问题 I have an icon for a button in my Outlook add-in. For example, https:/xyz.com/img1 pointing to img1 Now if I update the image after deploying the add-in, the updated image is not loaded in the ribbon. after update: https:/xyz.com/img1 pointing to img2. Ideally, img2 should be visible in the ribbon, right? Is there any cache that needs to be deleted? I have tried restarting Outlook client and desktop, but no change. If I enable the add-in to a new user now, the new image is displayed as an

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