天道酬勤,学无止境

outlook-web-addins

Microsoft Office Add in Javascript, MarkAsJunk Request returns GenericResponseError

I'm trying to make a javascript outlook add-in using this API and generator. https://docs.microsoft.com/en-us/office/dev/add-ins/outlook/apis https://github.com/OfficeDev/generator-office Since I would like to have a specific message to move to junk folder, I tried to follow these process. I could get information using Office.context.mailbox.makeEwsRequestAsync. https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/markasjunk-operation https://docs.microsoft.com/en-us/javascript/api/outlook/office.mailbox?view=outlook-js-1.5&preserve-view=true#makeEwsRequestAsync

2022-05-03 04:57:16    分类:问答    office-js   outlook-addin   office-addins   outlook-web-addins

Support for EquivalentAddins in Outlook Addin manifest

According to this article, support for the EquivalentAddins manifest element in an Outlook addin is coming soon. Is there an expected release date yet?

2022-05-03 04:56:39    分类:问答    outlook   outlook-web-addins

Outlook web addin is not loading in Outlook webApps using MVC

问题 我正在为 Outlook 2016、Outlook web App 和 Outlook 2016 mac 开发 Outlook 插件。 它正在为 Outlook 桌面 2016 和 MAC 加载。 它未在 Outlook Web 应用程序中加载。 Home 是控制器名称 Outlook Web 应用程序 (OWA) 显示 我的 MVC 视图是 @model TEALWebApps.Models.IMAPParam <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" /> <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" id="viewport" name="viewport" /> <meta http-equiv="X-UA-Compatible" content=

2022-05-02 17:23:08    分类:技术分享    asp.net-mvc   outlook-web-app   outlook-web-addins

(Office.js) ItemSend Event not firing when doing a Mail Merge from Microsoft Word

I have configured an Outlook Add In using Office.js that hooks in to the ItemSend event in order to modify an email body prior to sending the email. The add in was configured (yesterday) using the office-generator npm install -g yo generator-office yo office I modified this slightly to add a function that handles the ItemSend event <Hosts> <Host xsi:type="MailHost"> <DesktopFormFactor> <FunctionFile resid="Commands.Url" /> <ExtensionPoint xsi:type="Events"> <Event Type="ItemSend" FunctionExecution="synchronous" FunctionName="validateBody" /> </ExtensionPoint> ... The add in is functioning as

2022-05-02 08:58:10    分类:问答    outlook   ms-word   office-js   outlook-addin   outlook-web-addins

Is it possible to launch the taskpane if certain conditions are met?

I want the user to press on a command button which will run an API. If the API returns results, I want this to launch the taskpane and then display the result of the API. Is this possible?

2022-05-02 02:49:42    分类:问答    outlook   office-js   outlook-addin   outlook-web-addins

Outlook add-in -> Context add-in Manifest

I'm trying to create an Outlook add-in that activates in every email. I wanna know if there's way to call a function execution like that. I just need to have access to the email text as soon as the user goes to see the email. Is for fraud detection with AI. I found this manifest of Microsoft: <?xml version="1.0" encoding="UTF-8"?> <OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office

2022-05-02 02:46:48    分类:问答    javascript   outlook   outlook-addin   outlook-web-addins

Can't access email with digital signature in outlook addin?

I'm developing a outlook addin, which access metadata of an email. But i have the problem, that the addin is not shown in the outlook web app, when i select an email with an digital signature. When I select the same email in the outlook rich client then iget the error, that the operation cannot be performed, because the permissions for the message are restricted. I set up the permission in the addin manifest to "ReadWriteMailbox". Can someone help me, how i can access an email with digital signature in the outlook addin?

2022-05-01 04:41:49    分类:问答    outlook   office365   office-js   office365-apps   outlook-web-addins

Outlook Add-in that activates function when the user opens a email

I'm creating an add-in that detects fraud in emails with in the body using AI. So I need run every time the user open an email. I didn't find anything on events. The Context add-in seems to not be usable in this scenario because of the dependency on regular expressions. I wanna know if someone knows another approach to this use case.

2022-05-01 04:38:34    分类:问答    outlook   outlook-addin   outlook-web-addins

How to get working Dialog API of OfficeJS API with Outlook 2016 desktop client

问题 我开发了一个使用 OfficeJS API 并希望在应用程序中实现 OAuth 的 Outlook 插件,API Documnetation 还说 Outlook 2016(桌面)支持要求集 1.1、1.2、1.3 和 1.4 但在我的情况下它保持沉默甚至不会引发错误. 在为 word 加载项运行工作对话框 api 示例时,我收到JavaScript 运行时错误: Unable to get property 'displayDialogAsync' of undefined or null reference 。 我正在使用 Microsoft Office Professional Plus 2016。 我编写的用于启动对话框的代码如下: dialogTest() { const url = "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?response_type=...."; Office.context.ui.displayDialogAsync(url, { width: 15, height: 27, requireHTTPS: true }, function (asyncResult) { if (asyncResult.status !== Office

2022-04-29 07:37:03    分类:技术分享    office-js   office-addins   outlook-web-addins

Add Outlook Web Addin Function to context menu

Is it possible to add an Outlook Web Addin function to the context menu? As it was possible with the old VSTO Addins: I only find some examples with tab ribbons, like: <!--PrimaryCommandSurface==Main Office Ribbon--> <ExtensionPoint xsi:type="PrimaryCommandSurface"> <CustomTab id="Contoso.Tab1"> <Group id="Contoso.Tab1.Group1"> <Label resid="Contoso.Tab1.GroupLabel" /> <Icon> <bt:Image size="16" resid="Contoso.TaskpaneButton.Icon" /> <bt:Image size="32" resid="Contoso.TaskpaneButton.Icon" /> <bt:Image size="80" resid="Contoso.TaskpaneButton.Icon" /> </Icon> <!--Control. It can be of type

2022-04-28 06:57:32    分类:问答    office-js   outlook-web-addins