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

Using PowerShell to retrieve Content Types and associated Fields

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

I’ve previously posted PowerShell scripts that allow you to extract Content Types or Fields from a SharePoint site. But last week a commenter by the named Jeff posed a valid question. What if I want to extract all Content Types in a SharePoint site, and show the associated Fields for each of them?

Speaking at the Solvera PDC 2011, on March 19th

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

In 2009 Solvera Solutions started a biennial Professional Development Conference for it's employees. On March 18th and 19th the event returns for it's second iteration. This year I will be doing a presentation about development for SharePoint 2010. Unfortunately you can not attend unless you are a Solvera employee, but I wanted to mark the occasion because it's my first foray into speaking about SharePoint. At a whooping 2 hours and 45 minutes, expect there to be a lot of information in this session.

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.