SharePoint 2013 - Cross-domain Library

首先,参考链接:https://msdn.microsoft.com/en-us/library/office/fp179893.aspx?f=255&MSPPError=-2147217396

1. SharePoint Cross-Domain Library: 主要用于在SharePoint页面中访问其它domain的数据。如果你想要在客户端级别(client level)使SharePoint与外部交换数据,你可以使用此方法;当然也可以反过来用,在其它web page中使用此类库来调用SharePoint的数据;

The SharePoint cross-domain library 存在于文件 SP.RequestExecutor.js 中,位置在每个站点的 /_layouts/15/ 虚拟目录下。 

2. SharePoint Web Proxy 存在于 javascript client object model中,可以使用此方法在SharePoint Add-in中访问SharePoint数据以及其它domain,因此如果想要在服务器端(server level)建立远程数据和SharePoint页面的联系,可以使用此方式;

When you use the web proxy, you issue the initial request to SharePoint. In turn, SharePoint requests the data to the specified endpoint and forwards the response back to your page. Use the web proxy when you want the communication to occur at the server level. 

转载于:https://www.cnblogs.com/qijiage/p/4755209.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值