Forum Discussion
nnkaya
Aug 20, 2021Copper Contributor
How to export files to SharePoint document library with metadata
Hello All, I have 1000s files. I also have several metadata to be assigned to each file. I want to upload those files into my SharePoint document library. I am planning to create and cvs/excel ...
- Aug 20, 2021If you have exactly the same metadata in the source and destination library, the Move to option should move not only the files, but also their metadata. I would recommend to make a test of this feature to evaluate how it works. If you still decide to go for the scripting option, here you have a sample of how to do it: https://www.sharepointdiary.com/2016/06/upload-files-to-sharepoint-online-using-powershell.html (Please, bear in mind that you might to update the PowerShell cmdlets being used in the sample)
Aug 20, 2021
If you have exactly the same metadata in the source and destination library, the Move to option should move not only the files, but also their metadata. I would recommend to make a test of this feature to evaluate how it works. If you still decide to go for the scripting option, here you have a sample of how to do it: https://www.sharepointdiary.com/2016/06/upload-files-to-sharepoint-online-using-powershell.html (Please, bear in mind that you might to update the PowerShell cmdlets being used in the sample)