Outlook Desktop 2016-预约项目.to.setAsync()不起作用

发布于 2025-01-24 08:58:39 字数 559 浏览 4 评论 0原文

我正在研究Outlook加载项,Outlook的桌面版本再次挫败了我的计划。 我正在试图让与会者预约。在Web版本上可以正常工作,但是在桌面版本上,只有“与会者”字段仅A到“”字段,当我

Office.context.mailbox.item.requiredAttendees.setAsync(attendees, callback)

与与会者一起使用(是一系列电子邮件)时,桌面上的行为是添加参与者到“到”字段而不是设置它,这是有问题的,当我想使用setAsync()方法通过加载项重置“至”字段。然后,我尝试使用WIST

Office.context.mailbox.item.to.setAsync(attendees, callback)

希望它可以绕过问题来修改“到”字段,但似乎邮箱。ITEM没有名为“ to”的字段。

这是某种错误还是这种行为是在我注定要受苦的情况下:(

环境设置: Microsoft Outlook 2016(16.0.5182.1000)// Exchange 2016(构建版本15.1.2375.7)本地

I am working on a outlook add-in and the desktop version of outlook is once again thwarting my plans.
I'm trying to set the attendees in an appointment. That works fine on the web version but on the desktop version, there is no 'attendees' field only a 'to' field and when i use the

Office.context.mailbox.item.requiredAttendees.setAsync(attendees, callback)

with the attendees (being an array of emails), the behaviour on desktop is that it adds the attendees to the 'to' field instead of setting it which is problematic when i want to reset the 'to' field through the add-in using the setAsync() method. I then tried to modify the 'to' field using the

Office.context.mailbox.item.to.setAsync(attendees, callback)

With hopes that it would bypass the problem but it seems that the mailbox.item does not have a field named 'to'.

Is this a bug of some sort or is this behaviour intended in which case I am doomed to suffer :(

Environment setup :
Microsoft Outlook 2016 (16.0.5182.1000) //
Exchange 2016 (build version 15.1.2375.7) on-premise

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文