outlook-web-addins

Outlook Add-in REST API In Shared Inbox Fails: ErrorInvalidMailboxItemId - Item Id doesn't belong to the current mailbox

拈花ヽ惹草 提交于 2021-02-08 10:12:10
问题 We have an Outlook (Office JS) Add-in with a manifest configured to support shared folders, i.e. <SupportsSharedFolders>true</SupportsSharedFolders> The add-in has been running flawlessly, for many months, on a number of machines that meet the minimum requirement set of 1.8 for shared folder support. Since 22-Apr-2020 it has returned the following error when selecting an email in a shared email inbox: Status Code: 404 ErrorInvalidMailboxItemId - Item Id doesn't belong to the current mailbox

For item attachments that represent a contact (.vcf), will there be a corresponding MailboxEnums.AttachmentContentFormat

最后都变了- 提交于 2021-02-08 09:53:50
问题 Per the docs, there are enums for .eml and .iCalendar item attachments. Will there be an enum for contact item attachments. https://docs.microsoft.com/en-us/javascript/api/outlook/office.attachmentcontent?view=office-js#content Right now, item attachments that represent contacts have an .iCalendar enum. 来源: https://stackoverflow.com/questions/56840438/for-item-attachments-that-represent-a-contact-vcf-will-there-be-a-correspond

Outlook WEB Add-in execution of getAccessToken returns status code 302

送分小仙女□ 提交于 2021-02-08 08:22:30
问题 I strictly follow this article to build an Outlook WEB Add-in, but when I execute getAccessToken I receive 302: Missing grant for this add-in. with name: Preauthorization missing Why is that? My Add-in is well registered in the portal. Do I need to do anything else? What is the grant type for this request and where should I put it in? $("#getAccessTokenBtn").click(function () { Office.context.auth.getAccessTokenAsync(function (result) { if ("succeeded" === result.status) { // Use this token

Outlook WEB Add-in execution of getAccessToken returns status code 302

…衆ロ難τιáo~ 提交于 2021-02-08 08:21:30
问题 I strictly follow this article to build an Outlook WEB Add-in, but when I execute getAccessToken I receive 302: Missing grant for this add-in. with name: Preauthorization missing Why is that? My Add-in is well registered in the portal. Do I need to do anything else? What is the grant type for this request and where should I put it in? $("#getAccessTokenBtn").click(function () { Office.context.auth.getAccessTokenAsync(function (result) { if ("succeeded" === result.status) { // Use this token

How to clean the cache of Outlook add-ins?

佐手、 提交于 2021-02-08 06:11:41
问题 I'm testing a JavaScript add-in on Outlook for Windows version 16.0.12228.20100 32-bit. These recommendations do not work. Is there any reliable way of cleaning add-in cache to test immediately after editing the JavaScript source code? Update: Thanks for answer but clearing the cache of web browser does not clear the cache of Outlook. Do you know any undocumented way to reload the add-in in Outlook? 回答1: If you just want to update the HTML/JS you should be able to put focus into the Add-in,

How do I select a range and change font color of specific words in Outlook web add-ins

房东的猫 提交于 2021-02-07 11:00:11
问题 In Outlook web add-in, I want to select text from email body, keep it as tracked object and then apply styling on it like we do in Word web add-in. In the Word, I do it the following way: //used to store current selected range var selection=null; $scope.getSelectedText = function () { Word.run(function (context) { if (selection) { context.trackedObjects.remove(selection); } selection = context.document.getSelection(); context.trackedObjects.add(selection); context.load(selection, 'text');

How do I select a range and change font color of specific words in Outlook web add-ins

99封情书 提交于 2021-02-07 11:00:03
问题 In Outlook web add-in, I want to select text from email body, keep it as tracked object and then apply styling on it like we do in Word web add-in. In the Word, I do it the following way: //used to store current selected range var selection=null; $scope.getSelectedText = function () { Word.run(function (context) { if (selection) { context.trackedObjects.remove(selection); } selection = context.document.getSelection(); context.trackedObjects.add(selection); context.load(selection, 'text');

Outlook web add-in How to save info to customer properties in EWS

我是研究僧i 提交于 2021-02-07 10:24:09
问题 Using Office.js API we can easily save extra info to the CustomProperties object via customProps.set . The information is specific to the mail item. The is the doc Save to custom properties using office.js Can I achieve the same thing using EWS API? I tried Creating custom extended properties by using the EWS Managed API 2.0 But whatever info saved via this method I cannot retrieve it using Office.js 's customProps.get . The User case is that my add-in will save the email body and its

Outlook web add-in How to save info to customer properties in EWS

百般思念 提交于 2021-02-07 10:23:21
问题 Using Office.js API we can easily save extra info to the CustomProperties object via customProps.set . The information is specific to the mail item. The is the doc Save to custom properties using office.js Can I achieve the same thing using EWS API? I tried Creating custom extended properties by using the EWS Managed API 2.0 But whatever info saved via this method I cannot retrieve it using Office.js 's customProps.get . The User case is that my add-in will save the email body and its

Outlook Add-In on 2016 ProPlus MSI Version (MSO 16.0.4549.1000) gives “Permission Denied” error for displayDialogAsync

做~自己de王妃 提交于 2021-02-04 21:45:48
问题 I'm developing a new Outlook Add-In that uses displayDialogAsync to do authentication. We have several different client verions. It works fine on Outlook for Mac 2016 and Office 365 ProPlus Click-To-Run Version 1808 on Windows. But on Office 2016 ProPlus MSI Version (MSO 16.0.4549.1000) for windows, it gives the error "Permission Denied". Dialog API requirements sets page at https://docs.microsoft.com/en-us/office/dev/add-ins/reference/requirement-sets/dialog-api-requirement-sets says for