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

Content Types with associated Fields for SharePoint 2007

Posted on February 28, 2011
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

I’ve previously posted both a list of Content Types as well as a list of Fields that appear in SharePoint 2007 and 2010. But what if you want to find out what Fields a Content Type uses? Here is a (hopefully) complete list of SharePoint 2007 Content Types and associated Fields.

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 and IntelliTrace – Can I really have my cake and eat it too?

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

IntelliTrace is one of the major new features in Visual Studio 2010. It's a DVR on steroids for your debugging session. Unfortunately in it's first iteration IntelliTrace was only available for 32 bit applications, which means SharePoint 2010 was a no-go. Turns out that with the Visual Studio 2010 Service Pack 1 beta, IntelliTrace is now available for x64 and, you guessed it, SharePoint 2010.

Apparently this is old news. The beta came out in December of last year, so forgive me for being a bit behind the times here. My December was pretty busy with SharePoint training, holiday shopping and last minute Microsoft certification preparation/exam, and I missed out on the announcement. But once I heard I was instantly excited. Can it really be true?

A quick look at the SharePoint 2010 Developer Dashboard

Posted on December 24, 2010
VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)

One of the cool things in SharePoint 2010 is the Developer Dashboard. This gives you all sorts of insightful information about the page you are currently on. In addition to the out of the box information it provides, you can also add your own custom information to it. Here's a quick write up on how to get going using the dashboard.

Adding a custom button to the ribbon using a feature in SharePoint 2010

Posted on September 18, 2010
VN:F [1.9.22_1171]
Rating: 4.6/5 (5 votes cast)

I know a lot of people don't like the Ribbon, but I personally love it. It's being put into more and more of Microsoft (and third party!) applications and SharePoint 2010 is no exception. But how do you go about and customize it? I've been looking at doing so for the last few days, and I'm glad to say that so far it's not too tricky.