Is there an easy way to add a file to multiple SharePoint folders at the same time?

Posted on 2013-01-31
Medium Priority
Last Modified: 2013-02-11
I have about 130 folders in a SharePoint library that I would like to add the same file to. I tried opening up the library in explorer, but the folders do not appear.

Is there any type of code or macro that can be run or something else I'm not aware of that would save me from uploading the file 130+ times?

Question by:Dominator1025
LVL 32

Accepted Solution

Jamie McAllister MVP earned 750 total points
ID: 38842836
There's Powershell script, but you'd have to modify it a little to meet your exact requirements - unless you replicated teh folder structure locally and uploaded it all.


Assisted Solution

BobHavertyComh earned 750 total points
ID: 38844236
You can easily create a feature that when installed, and activated, will upload a document to a specified library for every site or site collection, depending upon the scope you choose. So for example, you could upload a doc to every site that has a doc library called "Shared Documents", or whatever other name they are, pretty easily via creating a feature. The problem is deploying it to already existing folders within the library or libraries you wish to deploy to. There really doesn't seem to be an actual url for these folders, only the doc library itself, which seems to mean that these folders are actually just creations from the database rather than real folders, whereas libraries do have real url's. So in tyhe url attribute, you would normally enter in "Shared Documents" or the library name you want, but for a folder with the library, I don't think that "Shared Documents/myfolderwithinthelibrary" would work. So it's hard to fill in the url attribute for deploying this file that the feature contains when there doesn't seem to be an actual url. Also, all of the folders would have to have the same name throughout the doc libraries, and be in the same spot relative to it's containing doc library.

It might actually require some semi involved scripting to identify all of these folders and their names to deploy to. That's beyond my knowledge at this time. wish i could be of more help, but hope I helped explain some things.

Author Closing Comment

ID: 38877268
Did not really use anything here, but I appreciate the effort.

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question