创建一个能够读取和修改邮箱中项目的Outlook插件。

huangapple go评论43阅读模式
英文:

Creating an Outlook add-in that can read and modify items in a mailbox

问题

问题摘要: 我需要创建一个Outlook 365插件,可以更改邮箱中项目的可视属性。

我已经使用Yeoman Generator创建了一个插件,使用了以下说明:

https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/outlook-quickstart?tabs=yeomangenerator

这个插件运行良好,但似乎只能在打开的电子邮件项目上启用。

在下面的图片中,您可以看到生成的插件已被禁用,但Viva Insights插件已启用:

创建一个能够读取和修改邮箱中项目的Outlook插件。

我正在尝试的操作是否可以使用Yeoman生成器实现?如何做到?如果不能,是否可以使用VSTO插件来实现?是否有提供示例代码的地方?

英文:

Problem summary: I need to create an Outlook 365 add-in that can change visual properties of items in a mailbox.

I've created a plugin using Yeoman Generator using the instructions here:

https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/outlook-quickstart?tabs=yeomangenerator

This works fine, but the add-in only seems to be enabled for opened email items.

In the following image you can see the generated add-in is disabled, but the Viva Insights add-in is enabled:

创建一个能够读取和修改邮箱中项目的Outlook插件。

Is what I am trying to do possible with the Yeoman generator? How? If not, can it be done with a VSTO add-in? Is there any place that has example code?

答案1

得分: 1

请参考XML清单中的ExtensionPoint元素。它定义了插件在Office用户界面中公开功能的位置。文档可以在此处找到:https://learn.microsoft.com/en-us/javascript/api/manifest/extensionpoint?view=powerpoint-js-preview

英文:

Please refer to the ExtensionPoint element in the XML manifest. It defines where an add-in exposes functionality in the Office UI. The documentation can be found here: https://learn.microsoft.com/en-us/javascript/api/manifest/extensionpoint?view=powerpoint-js-preview

huangapple
  • 本文由 发表于 2023年2月6日 19:19:15
  • 转载请务必保留本文链接:https://go.coder-hub.com/75360618.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定