Microsoft Office Sharepoint Server 2007 has a super user directory tool especially for large companies. Using the People Search/Employee Lookup you can easily search for people in your organization by name, job title, department, or any other employee attribute you could think of. But there’s a certain drawback to the results as there isn’t a friendly GUI for you to customize how the information is displayed. Instead you’ll have to edit the XSL if you’d like to change the formatting of the data. You can also include other employee attributes in the results by defining which columns in the user profile database to display such as Mobile Phone numbers.

To customize the People Search Results:

1. Search for a user so you can use that search result as a reference.

2. Go to Site Actions > Edit Page

3. Modify the People Search Core Results

4. Under the “Results Query Options” section, there is a field called “Selected Columns.” Click into this field and then click on the “…” that appears next to it.

5. In the Text Entry box that pops up you’ll be able to include new columns based on the columns you can reference from the user profile database. For example if you wanted to include a person’s mobile phone you’ll want to include <Column Name=”MobilePhone”/>

6. Now you’ll be able to edit the XSL to display the phone number using something like this:

<xsl:text>Mobile Phone: </xsl:text>
<xsl:call-template name=”DisplayOfficeProfile”>
<xsl:with-param name=”mobile” select=”mobilephone” />

That should be it. Don’t forget to check-in and publish your page!

Advertisements