且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何通过JavaScript for SharePoint 2013应用程序连接到EWS(Exchange Web服务)?

更新时间:2022-12-22 14:21:15

嗨迈克尔,

你走在正确的轨道上!但不幸的是
EWS今天不支持JS,并且没有简单的方法来授权Exchange,缺少你的应用程序要求用户的凭据。

You are on the right track! But unfortunately EWS doesn't support JS today and there's no easy way to auth to Exchange, short of your app asking for the user's credentials.

您的方案是否涉及尝试根据SharePoint中的用户提供的字符串创建收件箱文件夹?您是否可以分享有关您要执行的操作的更多详细信息?

Does your scenario involve trying to create an inbox folder based on a string provided by a user in SharePoint? Can you share more details about what you are trying to do?

此外,您是否有理由选择构建SharePoint托管应用程序而不是提供商托管或自动托管?

Also, is there a reason why you chose to build a SharePoint hosted app and not Provider hosted or autohosted?

谢谢,

Hila