Solved

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

Posted on 2013-01-31
3
258 Views
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?


Thanks,
Dom
0
Comment
Question by:Dominator1025
3 Comments
 
LVL 31

Accepted Solution

by:
Jamie McAllister MVP earned 250 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.

http://spfileupload.codeplex.com/
0
 
LVL 9

Assisted Solution

by:BobHavertyComh
BobHavertyComh earned 250 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.
0
 

Author Closing Comment

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

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

791 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