rss

Sharepointology

Sharepointology is the study and handling of Microsoft Office SharePoint Server

Web Part to show upcomming birthdays in SharePoint V2.0

Posted 26Apr09 by Erwin in General

codeplexI’ve updated my SPOShowBirthdayWebPart on the SharePointology project on Codeplex.com.

SPOShowBirthdayWebpartSPOShowBirthdayWebPart is a webpart that will display all users whose birthday is coming up in x days.

Changed in V2.0:

  • Replaced username by Firstname and Lastname.
  • Made Name column link to the user profile page

Download SPOShowBirthdayWebPart v2.0.

Prerequisites
This webpart uses the RunWithElevatedPrivileges function to impersonate the administrator in SharePoint Server 2007. After you do this, you may receive the following error message when you try to enumerate all user profiles:

“Access Denied. Only an administrator may enumerate through all user profiles.”

Microsoft released a hotfix package for this bug “SharePoint Server 2007 hotfix package: May 8, 2008″,
http://support.microsoft.com/kb/952294

 

  1. Web Part to show upcomming birthdays in SharePoint

RSSIf you like this post then please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox.

4 Responses

  1. Rama

    Hi,
    I used this webpart in moss 2007.
    I am only able to see the dates in date column.
    The name column is with blank data. No name is being displaied.
    Can you please let know where to give name input (either in AD profile or My site) so that they can be visible in this webpart?
    Thanks in advance.

  2. Erwin

    Enter the first name and last name in Active Directory, they will get Synchronized with the SharePoint Userprofiles and that way they will show up in the Webpart.

    Regards,
    Erwin

  3. S

    Hi Can we set up this webpart so that it only shows us TODAYS birthdays? OR How can we set it up to show many days ahead it should display?? Thank you!

  4. Eaa

    Hi,

    I installed your webpart.. and the webpart displays the following “Year, Month, and Day parameters describe an un-representable DateTime.”

    Any Idea??
    thank’s!

Leave a Comment

About

My name is Erwin Bastiaensen and I am a Software Architect from Belgium, with a huge interest in technology. Lately I have been involved in some Java projects and implementing, interfacing and extending a Sharepoint portal.

You can contact me at sharepointology[@]gmail.com.

View Erwin Bastiaensen's profile on LinkedIn