Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a web part page "DocLib1.aspx" in document library "DobLib1" and it has a few web parts.

How can I take the same web part page and copy it to other document libraries? There are about 50+. The web part page is named after the document library (with aspx extension). One of the web parts is the list for the same doc lib where the web part is residing.

share|improve this question
    
@Sally: Don't be disheartened by not receiving an answer quickly. Some questions are harder than others and people that know the answer to your question may not have seen it yet. Thanks and welcome to SharePoint Overflow! –  Alex Angas Aug 18 '10 at 0:06
    
Is there an option to do this on SharePoint publishing sites? I don't have access to the server to install any of these utilities. I need to move web part pages between document libraries without losing any of the web parts (which is what the Move action in the Manage Content area seems to do). –  BriKA Sep 21 '11 at 18:52

2 Answers 2

The content deployment wizard is one option but you would need to do it 50+ times so probably not the best use of your time. I think your will need to do some sort of scripting against the object model for this to work. Is that a possibility for you?

There is SPFile.CopyTo method which is probably what you are going to have to do on the web part page to copy it to your destination libraries. Have a look at the SPFileCollection object too.

share|improve this answer

The free edition of CopyMove for SharePoint can do this for SharePoint 2007. The SP2010 version is coming later this year.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.