Monday, 9 February 2009

A-Z People Search in MOSS 2007

Whilst researching a requirement to provide people search results in a grid view, I came up with this solution using out-of-the-box MOSS Web Parts. It comprises of a new people search results page, Content Editor Web Part showing the A-Z links, and the standard People Results Web Part with changes to the XSLT to show results in a table view, as shown below.


Because it uses OOB Web Parts, you get the usual search refinement facilities on the left, and of course any federated or faceted search options that you may want to configure on the page. I have configured the XSLT so that you get the presence icon next to the person’s name, a mailto link for their e-mail address, and their profile page will open in a new window when their name is clicked. You can obviously change the XSLT to show extra columns if required.

I have uploaded the files mentioned to http://cid-3db995be5d5d9d8f.skydrive.live.com/self.aspx/Public/A-ZPeopleSearch.zip.

4 comments: