问题标签 [outlook-web-addins]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
office365-apps - 当电子邮件正文具有链接时,如何将激活规则添加为上下文加载项
当电子邮件正文的链接处于闲置状态时,如何将激活规则添加为上下文加载项
并且此规则不能用作上下文加载项
javascript - 如何使用 office js 检测设备/应用程序
Office 365 加载项用户可以通过 Windows Outlook 客户端、Mac 客户端和 OWA(android/iphone)访问加载项。有没有办法使用 office.js 识别设备/应用程序?
outlook - 1 MB response size limit with outlook web add-ins
I'm using makeEwsRequestAsync to get the full MIME content of the email. But it looks like response size is capped at 1 MB, per the error message in the response:
"ErrorMessage":"Response exceeds 1 MB size limit. Please modify your EWS request.”</p>
I need to get MIME content of messages which may exceed 1 MB, and also POST such content to our server. Is there any way to increase this limit in the request, or configure this on the Exchange side?
outlook - 在 Office 加载项清单中指定 ~remoteAppUrl 的值
我正在使用新框架为 Outlook 编写加载项。项目模板中的清单~remoteAppUrl
用于表示 Web 文件的位置。它在开发过程中效果很好,但要发布到 Office 商店,我需要那里的生产 URL。如果我将生产 URL 保存到清单,则生产服务器会在调试期间使用,因此不会显示本地更改。
文档提到 Visual Studio 在调试期间填写此值:
接下来,Visual Studio 执行以下操作:
1. 通过将 ~remoteAppUrl 标记替换为起始页的完全限定地址(例如http://localhost/MyAgave.html)来修改 XML 清单文件的 SourceLocation 元素。
是否有一种内置方法可以让 Visual Studio 在适当的时间(在 Office 应用商店提交之前/期间)填写生产 URL,并且不会中断调试?
outlook - makeEwsRequestAsync 无法在 Outlook 2016 for Windows 中工作
我正在尝试使用 Office JS API 开发示例 Outlook 加载项。
该加载项具有以下设置:
- 交流 2016
- 读/写邮箱权限
- 客户端访问服务器 EWS 目录上的 OAuthAuthentication 设置为 true
有了这个,我就可以从 Outlook Web Access 对 EWS 进行 makeEwsRequestAsync 调用。
但是,对于 Windows 的 Outlook 2016,对 EWS 的请求会失败。
使用 Fiddler,我看到一些 HTTPS 401 Unauthorized 响应:
发布https://ad12exch16.latveria.lab.proofpoint.com/EWS/exchange.asmx HTTP /1.1
getUserIdentityTokenAsync 方法确实有效。
关于如何解决这个问题的任何想法?
sharepoint - 在 Office 加载项中,我可以知道用户属于哪个租户吗?
我试图通过使用mailbox.makeEwsRequestAsync来获取它,但看起来它不支持GetUserSettings 操作。
visual-studio-2015 - Outlook Web 插件 - 自定义计算的弹出窗口
我需要为一些时间计算创建 Outlook 插件。实际要求是——
- 在功能区中添加一个将打开弹出页面的按钮
- 此页面将从服务器读取其 html 和数据
- 这将不会读取任何邮件数据,并且不依赖于任何其他操作,除非通过单击按钮打开
- 这必须适用于 Outlook 2007 到 O365
使用 Visual Studio 2015,我查看了 VSTO,但他们没有可以从服务器读取 html 的 html 页面。我还查看了 Outlook WebAddin - 模块扩展,但仅适用于 Outlook 2016 及更高版本。
谁能建议我什么是满足我要求的正确方法。如果被问到,我可以就要求提供更多说明。谢谢。
office365 - Office.context.mailbox.item.body.setAsync 去除内联图像
我试图在我的电子邮件末尾附加文本,其中包括正文中的内联图像。我调用 Office.context.mailbox.item.body.setAsync 将 coercionType 设置为 html。当我发送电子邮件时,内联图像被删除。
如何让 Office.context.mailbox.item.body.setAsync 不剥离我的内联图像?
在此处查看 API 调用示例: https ://dev.outlook.com/reference/add-ins/Body.html