Custom SharePoint 2007 Site Collection Creation Page

Posted on 19 CommentsPosted in Article, SharePoint 2007

A lot of people that are using SharePoint 2007 (WSS or MOSS) for collaboration have either enabled self service site creation in which they allow their end-users to create a page using the scsignup.aspx page or they have some process in place in which an IT administrator creates site collections for their users.  Usually companies go the later route due to limitations with the self service site creation process; specifically, you cannot have the site […]

Set Local Site Directory

Posted on 4 CommentsPosted in SharePoint 2007, STSADM Commands

Way back one of the first commands I created was one which would allow you to set the Master Site Directory (gl-setmastersitedirectory). It turns out that because my company decided to have each division in it’s own site collection that I also needed to be able to set the local site directory (http://[host]/_layouts/SiteDirectorySettings.aspx). This one took me a minute to figure out what was involved as the disassembled code was a bit of a mess. […]

Site Directory Links Scan

Posted on Posted in SharePoint 2007, STSADM Commands

I’m starting to work on getting our Site Directory configured and the first thing I noticed after performing my test upgrade was there were tons of links in the site directory to dead sites. This is because in SPS2003 there was no mechanism (that I’m aware of at least) to clear out dead items in the list. With MOSS there’s now a timer job that can be configured to clean up the site directory. I […]

Setting the Master Site Directory

Posted on 4 CommentsPosted in SharePoint 2007, STSADM Commands

One of the things I needed my upgrade script to do was to set the master site directory. This can be done easily enough using the central admin tool (Central Administration > Operations > Site Directory Settings). I took most of my code from what I disassembled using Reflector. The code itself just grabs a PortalService object which it then uses to set the settings. You also need to get an SPSite and SPWeb object […]