My 2p about ERP Solutions, Information Worker Solutions and other software products (mainly Microsoft Dynamics AX and Microsoft SharePoint).

11 August 2008

Add a SharePoint Web Part to multiple sites at once

by Patrik Luca 3 comments

Tag



Business requirement: Add a SharePoint Web Part to multiple sites at once


You might have created a set of similar SharePoint sites, all based upon the same site template, just like me. After some time, business requirements change, and the end-users want to have a new Web Part on all the home pages of each of these SharePoint sites. If there are a multiple SharePoint sites, you might want to avoid, just like me, to edit each of the home pages of those SharePoint sites one-by-one.

Solution: use the SharePoint Tips Utility Pack


Ishai Sagi developped a great package of utilities which can be downloaded from CodePlex: SharePoint Tips Utility Pack. I described in a previous post Hide list fields upon creation of a SharePoint list item how these utilities can be used to modify some SharePoint field settings which cannot be changed in the regular SharePoint interface.
However, Ishai's utilities offer also the possibility to push Web Parts to several SharePoint sites at once.

  1. Add your new Web Part to one of your SharePoint sites and configure it.
  2. Export theWeb Part and save it to your local disk.
  3. Start the SharePoint Tips Utility Pack.
  4. Choose Web Parts Management, Push Web Parts.
  5. Enter the parent site url in Site under which your sites are created on which you want to add the previously exported Web Part.
  6. Enter the Page on which the Web Part should be added.
  7. In the Select Web Part section, enter the path to your previously exported Web Part in the Web Part File field. Configure the Chrome, Zone and Zone Index for the Web Part you are going to add.
  8. Push Start.


As a result, your exported SharePoint Web Part is added to the SharePoint page you selected on all SharePoint sites under a particular SharePoint root site at once: no need to add the SharePoint Web Part on each SharePoint site individually.

Comments 3 comments
Steven said...

Very nice tool!
How about deleting a webpart on multiple sites at once?
Grtz

Patrik Luca said...

Hi Steven,

I'll think you'll have to look at solutions like the Web Part Manager from Echo. I haven't tried it yet, but it seems to have the delete functionality, although this tool isn't for free. You can download a trial version though.

dan rogy said...

My current project requires ability to display choice column value via color or image associated with a choice

But Sharepoint standard packaged misses that control

I am looking for available solutions on market

I came across

http://sharepointfields.com


Does anybody has experiece using it?

Patrik Luca, Ieper, BELGIUM
Feel free to use or spread all of the content on my blog. In return, linking back to my blog would be greatly appreciated. All my posts and articles are provided "AS IS" with no warranties.

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Most Read Entries

Subscribe feeds rss Recent Entries

Categories

Recommended Books


Subscribe feeds rss Recent Comments

This Blog is part of the U Comment I Follow movement in blogosphere. Means the comment field of this blog is made DOFOLLOW. Spam wont be tolerated.

Live Traffic Feed

Recent Visitors

Blog Archive

My Blog List

Followers

Guest Links