The Black Knight Sings

Songs about SharePoint and other adventures by Per Jakobsen


Date: # Wednesday, July 09, 2008

Title: Registered for PDC2008


Even though it seems that there isn't going to be any SharePoint stuff a PDC this year, I still regard it as the Microsoft event of the year, it's our chance to see the direction in which Microsoft is heading:
* Oslo
* Windows 7
* Silverlight
* SQL server 2008
* F#
* ...

I'm going to be there (just finished the registration) and am looking forward to meet a lot of fellow developers.

Join the show and lets have some SharePoint discussions in the Open Space



Wednesday, July 09, 2008 8:35:10 AM (Romance Standard Time, UTC+01:00)  #    Comments [0]

Date: # Thursday, July 03, 2008

Title: Implementing a simple Cascading Dropdown in a usercontrol


A user wanted some guidance on how to implement a cascading dropdown in SharePoint. The following will show a simple example of how to implement that as a user control which has properties for selecting a list, a choice field in that list for the first dropdown and a field for which all appropriate values are shown in the second dropdown



Thursday, July 03, 2008 7:29:00 AM (Romance Standard Time, UTC+01:00)  #    Comments [0]

Date: # Friday, June 27, 2008

Title: How to use a publishing page as display form


A client wanted to place a SharePoint calendar on a publishing page and have it configured such that when you clicked an event the full details showed up at the top of the page, and searching for calendar items should also put you at this page.

Sounds easy just put the calendar view on the page and set the calendars display form to be that page. But setting the display form to be the publishing page puts the ID of the calendar item in the URL of the publishing page which then confuses SharePoint as it thinks it has to lookup that id in the Pages list.

The solution is to introduce a page as display form which the redirects back but with the ID of the calendar item as a querystring parameter with another name than ID.



Friday, June 27, 2008 11:17:59 AM (Romance Standard Time, UTC+01:00)  #    Comments [0]

Title: Look up instance of potentially recurring calendar event


In my last post I described how to redirect to a publishing page in order to use it as display form for a calendar.

It caused the problem of having to look up the right instance of the calendar event (in case of recurrence) ourselves. If we just implement an ordinary display form SPContext does the lookup for us.

I poked around in the SDK to find a method which could look up an item from a list based on the RecurrenceID, but without any luck. I knew SPContext did this so I fired up Reflector to see how SPContext did this and found GetInstanceItem which did what I wanted, but tightly coupled to the SPContext's current List and then it was also a private method.

Despite the DRY principle I had to reimplement the same function.



Friday, June 27, 2008 9:39:29 AM (Romance Standard Time, UTC+01:00)  #    Comments [1]

Date: # Wednesday, June 25, 2008

Title: How to change Checkin comment after save


If your company has very strict requirements on version numbering and want the comments to each of these versions to be correct, then you may run into a problem if you store the documents in SharePoint.

The version comment is determined when you check in your document, and after the checkin there is no supported way to change these comments.

If you really need to change the comments of a document and are willing to go the unsupported way of changing the content database directly then this little program can do the work for you:



Wednesday, June 25, 2008 1:11:53 PM (Romance Standard Time, UTC+01:00)  #    Comments [0]

Date: # Tuesday, June 24, 2008

Title: About Me


Hi, my name is Per Jakobsen

I'm currently working as SharePoint Architect for Delegate which is a small danish consultancy firm specializing in SharePoint and related technologies.

I also have a part time job as Instructor for DevelopMentor where I'm teaching the Essential SharePoint for Developers course.

My background goes all the way back to the stone age of computer programming.

  • I started as a COBOL programmer on a mainframe computer
  • Entered the new age with 4th generation languages (ADABAS/NATURAL) which was supposed to save the world
  • Got into PC programming in Pascal, C++, Paradox and dBASE
  • Further along to client/server programming using Paradox and PowerBuilder against Oracle and Sybase
  • Took the deep dive into Embedded ANSI C programming
  • And finally as a natural progressing ended in my current position with .Net programming and a focus on SharePoint

On the personal plane I'm married to Sussie and am stepdad to Nicklas, who in turn is stepdad to Bella Nova, which then makes me stepgrandstepdad.

In my spare time I'm playing Bridge when I'm not sitting in front of the computer or reading computer related books on my SONY ebook.



Tuesday, June 24, 2008 1:44:03 PM (Romance Standard Time, UTC+01:00)  #    Comments [1]

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. And all information or programs are without warranty. Use at your own risk


© Copyright 2012 Send mail to the author(s) Per Jakobsen Feed your aggregator (RSS 2.0)