O365 JS Web加载项:Outlook for Mac上的BCC提取程序错误

时间:2018-04-24 21:44:27

标签: javascript office-js outlook-web-addins outlook-for-mac

我们的Outlook加载项依赖于BCC getter和setter。我有一个用户的屏幕截图,其中有一个空的BCC字段,试图进行需要BCC的操作,而api(Office.context.mailbox.item.bcc.getAsync)返回的错误消息为:

Operation failed because the data is not current on the server.

我们没有做任何特殊的事情来访问它。使用ES6:

const getBCC = () =>
   q.Promise((resolve, reject) => {
       Office.context.mailbox.item.bcc.getAsync(({ value, status, error }) => (
          status === Office.AsyncResultStatus.Succeeded ? resolve(value) : reject(error)
       ));
   });

我们至少有200位用户遇到过此错误。它们都是Outlook for Mac用户。有人可以解释为什么提取一个空的(或填充的!)BCC字段会产生这个错误,如果有什么我们可以建议我们的用户避免它吗?

0 个答案:

没有答案