简体   繁体   English

使用 jquery 将数据从 excel 上传到 sharepoint 列表

[英]upload data from excel to sharepoint list using jquery

I want to upload data from a excel to a sharepoint list.我想将数据从 excel 上传到 sharepoint 列表。 The structure of the excel and the list are same. excel的结构与列表相同。

The user will enter the data in the excel and then give the path of the file in the input box present in the page.用户将在 excel 中输入数据,然后在页面中的输入框中给出文件的路径。 Now instead of uploading the whole excel file into a document library the code will read the file and update the list with the data present in the excel file.现在不是将整个 excel 文件上传到文档库,代码将读取文件并使用 excel 文件中存在的数据更新列表。 I am using JQuery in my page.我在我的页面中使用 JQuery。

Take a look at SPServices to help with this.看看SPServices来帮助解决这个问题。 I have no idea how you are managing to use jQuery in an Excel spreadsheet, but if you've really solved that part, then maybe SPServices can help with the actual writes.我不知道您是如何设法在 Excel 电子表格中使用 jQuery 的,但如果您真的解决了这部分问题,那么 SPServices 可能可以帮助实际写入。

Is there any reason you aren't simply using the Office capabilitiy to publish to SharePoint directly?您是否有任何理由不直接使用 Office 功能直接发布到 SharePoint?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM