我们可以在 Outlook Web 插件 office.js 中为邮箱添加自定义图标吗?

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

Can we add custom icon in mailbox from outlook web add-in office.js

问题

我无法从Web加载项中向Outlook邮箱中添加自定义图标。

我需要使用Outlook Web加载项的office.js库来向Outlook邮箱中添加自定义图标,如下所示的屏幕截图中所示。

我们可以在 Outlook Web 插件 office.js 中为邮箱添加自定义图标吗?

英文:

I am not able to add custom icon in outlook mailbox from web add-in.

I need to add custom icon in outlook mailbox from outlook web add-in office.js library as given in below SS

我们可以在 Outlook Web 插件 office.js 中为邮箱添加自定义图标吗?

答案1

得分: 0

目前尚无将自定义图标添加到Outlook邮箱项目的功能。我们在我们的Tech Community Page上跟踪Outlook插件功能请求。请在那里添加您的请求并选择适当的标签。在我们进行规划过程时,Tech Community上的功能请求将被考虑。

英文:

Currently the feature to add a custom icon to outlook mailbox items is not there. We track Outlook add-in feature requests on our Tech Community Page.Please add your request there and select appropriate labels. Feature requests on Tech Community are considered, when we go through our planning process.

答案2

得分: 0

Office JavaScript API(OfficeJS)不提供设置项目图标的任何内容。

但是,您可以考虑创建一个 COM/VSTO 插件,您可以在其中设置一个用于显示项目图标的低级 MAPI 属性。PR_ICON_INDEX 属性包含一个数字,指示在显示一组电子邮件对象时要使用哪个图标。如果存在该属性,它是对客户端的提示。客户端应用程序可能会忽略此属性的值。有关更多信息,请参阅Can i add custom icon to "outlook" item?

您可以在Tech Community上发布或投票支持现有的功能请求,这些请求在 Office 开发团队进行规划过程时会得到考虑。

英文:

Office JavaScript API (OfficeJS) doesn't provide anything for setting up item icons.

However, you may consider creating a COM/VSTO add-in where you could set up a low-level MAPI property for displaying an icon for items. The PR_ICON_INDEX property contains a number that indicates which icon to use when you display a group of email objects. This property, if it exists, is a hint to the client. The client application may ignore the value of this property. See Can i add custom icon to "outlook" item? for more information about that.

You can post or vote for an existing feature request on Tech Community where they are considered when the Office dev team goes through the planning process.

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

发表评论

匿名网友

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

确定