将文件从文档库复制到自定义列表 [英] copy files from document library to custom list

查看:69
本文介绍了将文件从文档库复制到自定义列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将文件从文档库复制到自定义list.please帮助。



Blitz

is it possible to copy files from document library to custom list.please help.


Blitz

推荐答案

您是否希望将文档库中的文件存储为自定义列表项的附件?

Do you want to store the files from document library as attachments for custom list items?

我建议您将文件存储在文档库中而不是自定义列表中。

I suggest you store the files in the document library rather than custom list.

如果您仍想实现它,我们可以使用CSOM代码来实现它,从文档库中获取文件并将文件作为附件添加到列表项中。以下文章包含供您参考的代码。

If you still want to achieve it, we can using CSOM code to achieve it, get the files from document library and add the files as attachments to a list item. The following articles with code for your reference.

如何使用客户端对象模型将文件附加到列表项

< a href ="http://buyevich.blogspot.com/2011/03/how-to-attach-files-to-list-item-using.html"> http://buyevich.blogspot.com/2011/03 /how-to-attach-files-to-list-item-using.html

使用CSOM从SharePoint文档库获取所有文件

https ://www.morgantechspace.com/2017/08/get-all-files-from-sharepoint-document-library-csom.html

最诚挚的问候,

丹尼斯


这篇关于将文件从文档库复制到自定义列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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