Forum Discussion
María José Pedreira
Apr 30, 2018Brass Contributor
Massive load of documents into a library - PNP
Hello, I wonder if somebody has prepared a script for performing a massive load of documents into a library. I have the documents available in a windows folder. I have a csv with the file name ...
michael meza
Apr 30, 2018Brass Contributor
Why do you have to use PnP? can you not use C#
- María José PedreiraMay 02, 2018Brass Contributor
Hi, I dont have access to the servers, so I use to work with PnP... And I'm working with Sharepoint 2016 on premise...
- michael mezaMay 02, 2018Brass ContributorI have a C# App that does exactly what you need... pulls from CVS file to push into SP with Metadata.... you would have to tweak it to work for you if you could do it in C#
- María José PedreiraMay 03, 2018Brass Contributor
Hi michael meza, If you can send me the script I can custom it.... It would be great try it for future...
For solving my problem now, I'm reading an xml file with a loop and the Add-PnPFile command. I think this solution works for me this time...and it's enough.
Thank you!