将文档导入SharePoint列表 [英] Import documents to a SharePoint List

查看:74
本文介绍了将文档导入SharePoint列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys


我需要将大量文档导入到共享点列表中,此SharePoint列表包含  PDF格式的文档和本文档的所有实际信息(名称,描述,分类,......)


我必须将大量文档导入此列表,如果我一个接一个地做这件事就需要花很多时间才能做到这一点 


是否有一个提示或者一个PowerShell脚本可以帮助我更快地完成这项工作?


最好的问候 

解决方案

您可以尝试批量导入或同步功能。


PowerShell最好更新元数据。下面是将文档从文件夹上载到SharePoint库的脚本。


请在真实库上使用之前测试虚拟文档库上的代码。现有文件将被替换。



User =" admin@xxx.onmicrosoft。 com"


密码=读取主机 - 提示"请输入您的密码" -AsSecureString

Hello Guys

I have a lot of documents that i need to import to a sharepoint list , this SharePoint list contains  the document as PDF format and all the realted informations to this document (Name, description, categororie, ..... )

I have to import a massive number of document to this list and if i do it one by one it will take a lot of time to do it 

Is there a tip or maybe a powershell script that can help me to do this faster ?

Best Regards 

解决方案

You can try the bulk import or Sync feature.

PowerShell is better to update the metadata. Below is a script to upload documents from a folder to a SharePoint Library.

Please test the code on a dummy document library before using on a real library. The existing files will be replaced.


User = "admin@xxx.onmicrosoft.com"


Password = Read-Host -Prompt "Please enter your password" -AsSecureString


这篇关于将文档导入SharePoint列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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