无法使用JavaScript代码从splist下载附件 [英] Unable to download the attachments from splist using JavaScript code

查看:50
本文介绍了无法使用JavaScript代码从splist下载附件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题1

1)基于以下链接,我正在尝试使用JSOM/javascript代码将所有附件下载到我的文件系统[例如D:\驱动器]中.但这根本没有用.

1)Based on the below link, i am trying to download all the attachments into my filesystem [ say D:\ drive] using the JSOM/ javascript code . But it didnt work at all.

https://social.msdn.microsoft.com/Forums/sqlserver/zh-CN/e425edb8-d78c-467c-bd71-14122f3c6d28/how-to-copy-splistitems-with-attachments-by-javascript-ids -passed-in-url?forum = sharepointdevelopment以前的

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/e425edb8-d78c-467c-bd71-14122f3c6d28/how-to-copy-splistitems-with-attachments-by-javascript-ids-passed-in-url?forum=sharepointdevelopmentprevious

第2个问题

是否可以下载带有元数据的sp2010列表的列表项的文档[附件?例如,如果我有sp 2010 list的ID列,我也想在下载的文档中提及该ID.这是必需的,因为我要服用这些 再次将该文档连同此ID字段值一起插入到另一个SP环境的SPList中.

Is it possible to download the documents[ attachments of the list items of my sp2010 list with metadata? say, if i have a ID column of the sp 2010 list , i wanna mention the ID too in the downloaded document. this is required because, i want to take these documents again along with this ID field value and insert into another SP environment's SPList.

SPServices是否提供用于将sp 2010 listitem附件下载到文件系统中的API?

Does SPServices provide the API for downloading the sp 2010 listitem attachments into a file system,?

 

 

推荐答案

希望以下帮助

https://social.msdn.microsoft.com/Forums/office/zh-CN/3c94c3a9-73da-4dae-8dff-94d94830928b/download-the-list-item-attachments-using-jsom-in-sharepoint -2013?forum = sharepointdevelopment

https://social.msdn.microsoft.com/Forums/office/en-US/3c94c3a9-73da-4dae-8dff-94d94830928b/download-the-list-item-attachments-using-jsom-in-sharepoint-2013?forum=sharepointdevelopment

https://social.technet.microsoft.com/Forums/ie/zh-CN/728d3df0-7cbe-4f10-9ae8-7ac4a3ac738d/download-the-attachment-ics-file-in-sharepoint-using-jqueryrest ?forum = sharepointgeneral

https://social.technet.microsoft.com/Forums/ie/en-US/728d3df0-7cbe-4f10-9ae8-7ac4a3ac738d/download-the-attachment-ics-file-in-sharepoint-using-jqueryrest?forum=sharepointgeneral


这篇关于无法使用JavaScript代码从splist下载附件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆