How to get recurrence data from JavaScript API in office365

会有一股神秘感。 提交于 2019-11-27 16:27:24

In an Outlook web add-in when something is not available directly from Office.js library you can try to get access to those data using Exchange Web Services.

Fortunately, Office.js provides two ways to access EWS.

  • You can request directly the EWS with a SOAP request from your client app. See method makeEwsRequestAsync in Office.context.mailbox
  • You can get an EWS token, send it to your server and make the request from there. Then you can use a nice SDK such as this one. You will invoke the method getCallbackTokenAsync from Office.Context.mailblox to retrieve such a token. In this link you will find an example on how to use this technique to retrieve email attachments (not available in Office.js)

To answer more precisely, the EWS seems to expose the information you need regarding recurrence, To etc. for appointments, see this link.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!