使用SharePoint rest语法返回已上传的SharePoint Excel 文件

rest语法:

var context = _spPageContextInfo;
this.SiteUrl = context.webServerRelativeUrl;

GetExcelData: function (fileName,callbackMethod) {
var method = "ExcelRest.aspx/Shared%20Documents/" + fileName + "/model/Ranges('Sheet1!A1%7cV20')?$format=json";

url:(this.UriList.GetExcelData + "/" + method).then(callbackMethod);

//使用ajax请求,返回一个JSON格式的数组
}

 

posted @ 2014-11-12 14:51  Q_Lucia  阅读(189)  评论(0编辑  收藏  举报