25 July 2007

Add link to People Search for Author name in search results

The SharePoint 2007 Search results return the name of the Author of each document in the results, but this name is not clickable and thus you can not easily drill down to the Author.


You can change the XSL for the Search results and link the name of the author to the People Search of SharePoint. Follow these steps:

  1. Go to your SharePoint search results page (results.aspx) and click Site Actions, Edit Page
  2. Click Edit next to the Search Core Results web part and select Modify Shared Web Part
  3. In the toolpane on the right click the XSL Editor button
  4. Select all XSL code from the pop-up window and replace with the code that can be found here...
  5. Click Save and OK
  6. Click Publish on the editing toolbar at the top

Now all author names should link to the Search page!


No comments: