sharepoint的List中有一个Export to Spreadsheet的链接,可以将List数据导出的Excel中,如果你想将该链接放到自己的页面中,可以按下面方式做。

链接的格式为:

http://[Server]/[Site]/([Subsite]/)_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=[ListGUID]&View=[ViewGUID]&CacheControl=1你需要替换掉[]中的内容,ListGUID和ViewGUID可以通过修改视图的URL找到,如下图:

增加一个Export to Spreadsheet的链接

导出效果如下图:

增加一个Export to Spreadsheet的链接

相关文章:

  • 2022-01-30
  • 2021-08-18
  • 2022-12-23
  • 2022-02-21
  • 2021-07-17
  • 2021-06-28
  • 2022-12-23
  • 2022-01-22
猜你喜欢
  • 2021-07-10
  • 2021-08-09
  • 2021-07-10
  • 2021-07-03
  • 2021-12-14
相关资源
相似解决方案