Sharepoint 2013 如何使用Javascript在云/windows azure(提供商)托管的应用程序中获取sharepoint online(office 365)数据?
如何使用Javascript在云/windows azure(提供商)托管的应用程序中获取sharepoint online(office 365)数据Sharepoint 2013 如何使用Javascript在云/windows azure(提供商)托管的应用程序中获取sharepoint online(office 365)数据?,sharepoint-2013,office365,Sharepoint 2013,Office365,如何使用Javascript在云/windows azure(提供商)托管的应用程序中获取sharepoint online(office 365)数据 我希望使用javascript在html页面(托管在windows azure中)中检索sharepoint online数据,然后需要使用AngularJS进行播放,所以您有一个提供商托管的应用程序,在sharepoint online中注册 我认为有必要考虑CORS问题 试试这个: JavaScript executor.executeA
我希望使用javascript在html页面(托管在windows azure中)中检索sharepoint online数据,然后需要使用AngularJS进行播放,所以您有一个提供商托管的应用程序,在sharepoint online中注册 我认为有必要考虑CORS问题 试试这个: JavaScript
executor.executeAsync(
{
url:
appweburl +
"/_api/SP.AppContextSite(@target)/web/title?@target='" +
hostweburl + "'",
method: "GET",
headers: { "Accept": "application/json; odata=verbose" },
success: successHandler,
error: errorHandler
}
))
另见: