Chapter 1. Site Management

The recipes in this chapter focus on automating tasks related to managing site collections and sites. You might be thinking that SharePoint 2007 (either Microsoft Office SharePoint Server or Windows SharePoint Services 3.0) already provides some pretty nifty ways to manage sites through the user interface (UI). For example, it's easy to add a web part and configure it on a web-part page. And backing up a site collection by using STSADM is pretty straightforward.

But what if, instead of a single site, we're talking about 1,000 sites that all need the same web part added? You could, of course, create a Feature and deploy it to your web application, but that doesn't put the web part on the page. And what if you want to make ...

Get SharePoint 2007 Development Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.