对于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


<!-- 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"/>
发布评论
评论(2)
是的。 Outlook附加组件单独的站立不像其他办公室附加组件不同。请参阅 Microsoft Office-探索办公室的JavaScript API:邮件应用程序以获取更多信息。
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.
目前,我们在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