【发布时间】:2019-11-07 20:54:44
【问题描述】:
在here 列出的受支持环境中。 Office.context.requirements.isSetSupported('Mailbox', '1.8') 在使用 Office365 的 OWA (Chrome) 中返回 false。在这种环境下,我们什么时候可以期望 isSetSupported 为 v1.8 返回 true?
我正在尝试确定运行加载项的客户端/服务器配置是否支持 Office.context.mailbox.item.getAttachmentContentAsync()。我们是否应该根据已知的功能排列检查 Exchange 服务器版本 + 客户端构建版本,还是 Office.context.requirements.isSetSupported('Mailbox', '1.8') 会为我们封装这些检查?
当前行为:isSetSupported('Mailbox', '1.8') 在 Office365 的 OWA 中返回 false。
预期行为:isSetSupported('Mailbox', '1.8') 在使用 Office365 的 OWA 中返回 true。
其他:Office.context.mailbox.diagnostics.hostVersion 正在返回“2019102702.16”形式的奇怪字符串。这似乎与任何Exchange Server Versions 都不匹配。此字符串是 Exchange Online 服务器版本的预期格式吗?
注意事项:isSetSupported('Mailbox', '1.8') 在 Outlook Desktop 和 Outlook for Mac 的最新版本中返回 true,与 Office365 的预期一样。
环境:
平台:Office Online
主机:Outlook
Office 版本号强>:
Office.context.diagnostics.version=16.0.10908.10000
Office.context.mailbox.diagnostics.hostVersion=2019102702.12
操作系统:Mac
浏览器(如果使用 Office Online):Chrome 。
【问题讨论】:
标签: office-js outlook-web-addins