【问题标题】:Office.js - Outlook - saving a unsaved appointment using saveAsyncOffice.js - Outlook - 使用 saveAsync 保存未保存的约会
【发布时间】:2017-04-13 13:13:49
【问题描述】:

在我用新的 office.js API 编写的 Outlook 插件的主要撰写表单中,我希望能够保存未保存的约会。

我所说的未保存是指用户双击日历,写了一些关于该主题的数据并且没有点击“保存”,只是通过打开撰写表单直接进入我的加载项。

当我打电话时 Office.context.mailbox.item.saveAsync 我正在为用户显示以下错误:

Error: the event couldn't be created on the server. Please try again.

并弹出一个类似的消息:

Couldn't create the following event: [EVENT_NAME]

任何提示如何保存此事件?

上述行为发生在 Outlook Web App 上。

【问题讨论】:

    标签: outlook ms-office outlook-addin office-js outlook-web-app


    【解决方案1】:

    请取消选择约会撰写表单上的全天复选框,然后调用 saveasync,它应该可以工作。这恰好是我们正在解决的一个已知问题。

    All Day Checkbox on compose appointment

    【讨论】:

    • 这个bug什么时候能解决?
    • 是否有从 JS 代码中取消选中该复选框的选项?
    • 这对您来说仍然是个问题吗?这对我们在 Outlook for windows 上效果很好
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-07-21
    • 2017-01-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多