aarebrot.net Frode's blog on Sharepoint and other stuff

Getting your GUID on, macro style

Posted on February 7, 2011
VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)

I'm currently working on creating some custom discussion boards in SharePoint 2007 for a client. With that comes creation of features and content types, which in turn requires GUIDs to be generated. Generating a GUID in Visual Studio is easy. Just click Tools on the menu, followed by Create GUID. So what's the big deal?

When creating a bunch of content types I find that it becomes cumbersome to click the menu, copy a GUID, then paste it into the document before finally removing braces and dashes. So I've created two short macros to speed up the process with simple keyboard shortcuts. This is mostly a reminder for myself so I remember how to do this next time I'm setting up a new Dev environment, but I'm sure it can come in handy for someone else as well.

SharePoint 2010 Content Types

Posted on June 18, 2010
VN:F [1.9.22_1171]
Rating: 4.0/5 (2 votes cast)

Since I updated my awesome list of field IDs, I figured I should probably update my list of Content Types as well. And so here it is. There is a few more this time around. If you want an offline version, you can download the full list below in either .csv or .xls format. The files also include the description of each Content Type as well as the group the belong to.

Powershell: Retrieve Content Types and Column Fields

Posted on August 25, 2008
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

So you just found the wicked awesome list of content types and life is good, but you kinda wish you could get a hold of all those content types and column fields that you made yourself. No worries, Powershell is your trusted friend who's always ready to help.

Below are two very basic Powershell scripts. They both connect to a specified site collection, and one exports Content Types while the other exports Column Fields.

Frodes not-so-spectacular list of Content Type IDs

Posted on July 17, 2008
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

In a follow up to Frode's awesome list of Column Field ID's, here is a quick list of Content Type ID's. These were all fetched from our dev server using Powershell. If you don't have Powershell, shame on you.