Tag Info

New answers tagged


I don't believe there is a way to bulk upload the attachments, especially out of the box. But you can copy and paste the Excel data, if the columns match up perfectly. Then it is a matter of editing each list item (form) to attach the documents via drag/drop for that item.


Below script will upload file recursively from folder to document library if((Get-PSSnapin "Microsoft.SharePoint.PowerShell") -eq $null) { Add-PSSnapin Microsoft.SharePoint.PowerShell } Function UploadFiles($web,$path,$docLibrary) { $files = Get-ChildItem $path foreach ($file in $files) { if($file.GetType().Name -eq "DirectoryInfo") { ...


This issue was related to another SharePoint Farm that we have in our environment crawling that farm in conjunction with another local crawl and that was putting load on the site and that is why we had the issue. Make sure no other crawls are running from other sources. This is of course in our scenario.


Here is a working example. Code looks mostly the same as yours except for the use of the Content property. var web = context.Web; var list = web.Lists.GetByTitle("Project Documents"); var filePath = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + @"\Samples\Sample01.docx"; var fci = new FileCreationInformation(); fci.Content = ...


Using a phone input device can be tricky. Either you use the mobile views where you see the libraries in a row or you switch to PC view using the more menu . . . If I try to upload using the upload button I can’t hit the button even if it’s there. But if I go to the ribbon and upload from its Upload button, it works as expected. Try these three different ...

Top 50 recent answers are included