是否可以将文件从文档库复制到自定义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.
如何使用客户端对象模型将文件附加到列表项
buyevich.blogspot/2011/03 /how-to-attach-files-to-list-item-using.html
使用CSOM从SharePoint文档库获取所有文件
https ://www.morgantechspace/2017/08/get-all-files-from-sharepoint-document-library-csom.html
最诚挚的问候,
丹尼斯
更多推荐
将文件从文档库复制到自定义列表
发布评论