Adding Links to Central Administration

This is part 1 of a series regarding my recent CodePlex addition SharePoint 2010 Site Styles. I’ve decided to blog on 4 of the concepts that I used in creating the add-on. These are topics that have been blogged about before but hopefully relating to a real working code base will provide some additional value.

The goal is to get some new links to appear within Central Administration. The finished product looks like this:
Continue reading →

Sysprepped SharePoint 2010 Development Image

SharePoint 2010 is here and it’s time to do things right this time around. To me, doing it right means that everything I do should be reusable. Those reusable components may be for our internal developers or it may be something that the sales team can run with but either way that’s the goal.

The requirements

When it came time to put together the image that would be reused for all the developers across the company we needed a solution a little bit more robust then the solution we used for SharePoint 2007. Below are some of our requirements:

  1. Consistent installations between environments
  2. Follow best practices where possible (development environments historically break this rule for ease of use)
  3. Unique computer name for each person to avoid network collisions
  4. Automated installation to allow for quick spin up of development environments
  5. Should use VMware (We recently transitioned everything from Virtual PC to VMware due to 64bit requirements)

In addition to these requirements we also put in place some new machine requirements for all developers. At a high level this includes 8 GB of ram and quad core processors. The developer has input for the remaining specs. Continue reading →

SharePoint 2010 Site Styles is out!

I’ve been busy lately developing my first full codeplex project. I now feel good enough about that process to have released a version on CodePlex earlier today. So say hello to SharePoint 2010 Site Styles.

Now you may be asking yourself…

What is this and why did you build it?

So with the release of SharePoint 2010 Microsoft decided that the concept of themes should be reworked within SharePoint, and they definitely needed it. So now themes allow you to modify the color and font scheme of any SharePoint site either through the browser or even through Office applications such as PowerPoint and by doing so you can produce a theme file with a .thmx format. This has made sharing, deploying and creating themes extremely easy.

But… what if you wanted to deploy your own custom CSS or your own custom images? Well, you can do one of the following:

  1. Create your own master page and add your CSS.
  2. Modify the master page through SharePoint designer and add your CSS.
  3. Add your CSS in through a web part or other element.
  4. Turn on publishing and set the alternate CSS file.
  5. Create a Control Template that’s feature activated to embed your custom CSS file into the page.

Ok, so now you read through that list and realize that only option 5 has any merit what-so-ever because the rest either require publishing or are not deployable/reusable. Continue reading →

Setting up BGInfo on your SharePoint Servers

What is BGInfo?

BGInfo embeds key pieces of configurable server information into the desktop background when a user logs into the machine.

This information really applies to all servers but I figured I would focus on SharePoint. On all of my servers I run the same BGInfo script that runs at logon. The script really helps in the management of the servers because it gives me an at a glance look at some key pieces of information.

This information includes metrics such as :

  • Boot Time
  • Snapshot Time
  • CPU
  • Memory
  • Disk Space
  • OS Version / Patch Level
  • IE Version
  • Domain / IP / Network Information

I’ve found that all of these pieces of information are extremely helpful in the management of the SharePoint environment. They help me answer questions when troubleshooting an issue as soon as I log in such as: Am I out of disk space due to my log files growing? Am I on the latest OS service pack level? Does this virtual have enough memory assigned to it? Has the machine lost it’s connection to the domain controller?

Download my BGInfo configuration file
Download BGInfo

Also when automating the run of BGInfo be sure to use the proper command line parameters so that it doesn’t annoy the user with unnecessary dialogs.

bginfo.exe \\path\to\bginfo.bgi /nolicprompt /silent /timer:0

SharePoint Saturday Tampa Slides

I’ve uploaded the slides from my presentation at SharePoint Saturday Tampa to Slide Share for anyone interested. Feel free to learn more about leveraging the ribbon API and dialog framework. If you have any questions or comments feel free to shoot me a message via the contact form. I’m currently working on cleaning up the code that I demo’d during the presentation and will be releasing it in a series of blog posts about the subject. If you would like a copy in the mean time shoot me an email and I’ll be happy to send it to you.

SharePoint Saturday in Tampa

I’ll be speaking in a few days now at the SharePoint Saturday event down in Tampa. I’ll be giving a pretty technical discussion about the Ribbon API and dialog framework. Afterwards I’ll be posting the source code and slides here on my blog so be sure to check back.

The event is in Tampa, FL on Saturday June 26th. Check out the other speakers and event details at the SharePoint Saturday website . If you aren’t familiar with SharePoint Saturday then spend a little time on the site and get involved in the SharePoint community… it’s a great one!

Looking forward to meeting lots of great people! See you there!