Iconurl元素无法出现在桌面上的Outlook加载项中

发布于 2025-02-11 00:46:43 字数 1216 浏览 2 评论 0 原文

对于Outlook加载项,当Outlook在网络中运行时,ICONURL(在清单中定义)可以出现,但是在Outlook Desktop中未能出现,

以防万一可能相关:M/S文档:尚不完全清楚:“对于内容和任务窗格应用程序,指定的图像必须为32 x 32像素。对于邮件应用程序,图像,图像分辨率必须为64 x 64像素“ - Outlook加载项是“邮件应用程序”吗?据推测,随着清单验证在32 x 32像素映像上失败 - 但可以在

Web下方的64 x 64屏幕截图,带有ICON和台式机下方的64 x 64屏幕截图,而没有该顺序,以及一部分清单

  <!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
  <DisplayName DefaultValue="TeamsAssist Help" />
  <Description DefaultValue="TeamsAssist Notifications Help"/>
  <IconUrl DefaultValue="~remoteAppUrl/Images/TeamsAssistLogo64x64.png"/>
  <HighResolutionIconUrl DefaultValue="~remoteAppUrl/Images/TeamsAssistLogo128x128.png"/>

For an Outlook Add-in, the IconURL (defined in the Manifest) appears OK when Outlook is running in the Web, but fails to appear for Outlook Desktop

Just in case this might be relevant: the M/S documentation: https://learn.microsoft.com/en-us/javascript/api/manifest/iconurl?view=common-js-preview is not totally clear: "For content and task pane apps, the image specified must be 32 x 32 pixels. For mail apps, the image resolution must be 64 x 64 pixels" - is an Outlook Add-in a "mail app"? Presumably, as Manifest validation fails on a 32 x 32 pixel image - but is fine with 64 x 64

Screenshots below of Web, with icon, and Desktop, without, in that order, plus part of Manifest

enter image description here
enter image description here

  <!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
  <DisplayName DefaultValue="TeamsAssist Help" />
  <Description DefaultValue="TeamsAssist Notifications Help"/>
  <IconUrl DefaultValue="~remoteAppUrl/Images/TeamsAssistLogo64x64.png"/>
  <HighResolutionIconUrl DefaultValue="~remoteAppUrl/Images/TeamsAssistLogo128x128.png"/>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

恏ㄋ傷疤忘ㄋ疼 2025-02-18 00:46:43

Outlook加载项是“邮件应用程序”?

是的。 Outlook附加组件单独的站立不像其他办公室附加组件不同。请参阅 Microsoft Office-探索办公室的JavaScript API:邮件应用程序以获取更多信息。

is an Outlook Add-in a "mail app"?

Yes, it is. Outlook add-ins stand separately unlike other Office add-ins. See Microsoft Office - Exploring the JavaScript API for Office: Mail Apps for more information.

牵你手 2025-02-18 00:46:43

目前,我们在Win32中的任务栏标题中不使用图标。这是两个客户之间的区别之一。

我们在我们的技术社区页面上跟踪Outlook附加功能请求。请在此处提交您的请求,然后选择适当的标签。当我们完成计划过程时,考虑了技术社区的功能请求。

GitHub标签:“类型:产品功能请求”

https://aka.ms/m365dev-suggestions

Currently we do not use the icon in the taskbar title in Win32. This is one of the differences between the two clients.

We track Outlook add-in feature requests on our Tech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered when we go through our planning process.

Github Label: “Type: product feature request”

https://aka.ms/M365dev-suggestions

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文