outlook-web-addins

Outlook API 1.3 version not showing on Outlook Desktop Professional Plus 2016

坚强是说给别人听的谎言 提交于 2019-12-22 06:46:33
问题 On this page https://github.com/OfficeDev/office-js-docs/blob/master/reference/outlook/tutorial-api-requirement-sets.md it is specified that both Outlook 2016 (MSI) for Windows and Outlook 2013 for Windows support Outlook API up to Version 1.4, but when we try to increase the minimal version in the manifest from 1.1 to 1.3, the addin works fine on web but does not show on both desktop versions. Currently I am working on Outlook Professional Plus 2016 with build number 16.0.4312.100, 64bit on

Pop-up blocked error when opening url from outlook webaddin

◇◆丶佛笑我妖孽 提交于 2019-12-22 01:18:08
问题 i am trying to open url when user clicks on a button in plugin view. But web addin is throwing error. My code to open url : let a = document.createElement("a"); a.setAttribute('target', '_blank'); a.setAttribute("style", "display: none"); document.body.appendChild(a); a.href = finalUrl; a.click(); document.body.removeChild(a); Error message : App is rejected from store because of this error. How can i overcome this error? I don't want to use Dialogue API which doesnot open url in the browser.

Error while executing async get of Outlook item property

梦想的初衷 提交于 2019-12-22 01:10:14
问题 Why am I getting Could not complete the operation due to error 80043200 sometimes while getting Outlook item property (for example, Subject) in email Compose mode? Call stack: Error at n.prototype.execute (appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:11:86635) at u.DDA.OutlookAppOm.prototype.callOutlookDispatcher (appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:11:150300) at u.DDA.OutlookAppOm.prototype.invokeHostMethod (appsforoffice.microsoft.com/lib/1

How can we force a mailbox item to be persisted to EWS?

北城余情 提交于 2019-12-21 06:15:21
问题 Note: This particular issue has significant impact on our customers, which translates to high business impact with direct consequences on revenue. TL;DR. How can our Office add-in for Outlook, when a user interacts with our add-in while composing an email draft, minimize the amount of time it takes before the EWS GetItem API will return an OK response for the itemId we receive from Office.context.mailbox.item.saveAsync() ? If it turns out that our add-in has no control over when the item will

In a outlook web add-in suddenly stops giving email address for sender/from object

爷,独闯天下 提交于 2019-12-20 02:44:08
问题 In my outlook web addin it suddenly stops giving email address of from & sender object, My code looks like: isSentItem() { return Office.context.mailbox.userProfile.emailAddress === Office.context.mailbox.item.sender.emailAddress; } I checked in console display name is coming correct but email address not populating: I am using cdn hosted officejs api: <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js" type="text/javascript"></script> Current version of officejs api

Drag and Drop between Outlook and Add-in Pane

懵懂的女人 提交于 2019-12-19 11:34:54
问题 Is it possible to drag an attachment or e-mail to an Outlook Web-Addin. The add-in is available to either Outlook 365 (Web) or the main client My assumption is no - as it is a sandboxed boundary, but I have heard about people running applications in the system tray to intercept the mouse drag event? Is this viable? are there any security risks with this approach? Thank you Rich 回答1: System tray interception is not a viable solution, not only because of security concerns, but because of

X-Frame-Options for Outlook Web Add-Ins

巧了我就是萌 提交于 2019-12-19 03:12:12
问题 I'm working on an Outlook Web Add-In and I'm struggling with knowing what value to set for the X-Frame-Options: ALLOW-FROM header. As far as I know, users may access Outlook via three different domains (office.com, office365.com and live.com). Does anyone know how I can tell which site is making the request, so I can set the header appropriately? 回答1: The add-in needs to be able to run in an iFrame in order to work in Outlook Web, thus X-Frame-Options header should not be included at all.

How to hook event on sending mail in Office add-in (OWA, Windows Outlook 2016)

这一生的挚爱 提交于 2019-12-18 09:31:11
问题 in (Web and Desktop), I need to observe sending email but it seems to be the API available from office.js does not seem to have any event or method for this functionality. In fact, my requirement is to inject tracking pixels when a user clicks on Send button thereby collecting the outgoing email's conversation id. Any suggestion? 回答1: It is available now. On send feature for Outlook add-ins was implemented with lots of limitation, but at least it's there. Outlook add-in on send code sample is

Dynamic content in Add-in command with ribbon dropdown menu

元气小坏坏 提交于 2019-12-18 06:53:12
问题 Is there a way to display dynamic content in a ribbon dropdown menu with Add-in Commands? I think this is not achievable at the time of the writing. In addition, if the items themselves cannot be dynamic is it possible to have at least dynamic strings for the displayed labels. See Edit: I have created a UserVoice feature request for this here Note: this question is only for the new generation of web add-ins (office.js) not VSTO. 回答1: This is not currently supported but It's on our plan.

Dynamic content in Add-in command with ribbon dropdown menu

ぃ、小莉子 提交于 2019-12-18 06:52:13
问题 Is there a way to display dynamic content in a ribbon dropdown menu with Add-in Commands? I think this is not achievable at the time of the writing. In addition, if the items themselves cannot be dynamic is it possible to have at least dynamic strings for the displayed labels. See Edit: I have created a UserVoice feature request for this here Note: this question is only for the new generation of web add-ins (office.js) not VSTO. 回答1: This is not currently supported but It's on our plan.