Monday 22 November 2010

Missing People Results in SharePoint 2010

Real quick, I wanted to share with you what I did to remedy this situation.  I’m sure they’ll have this fixed by RTM, so don’t worry if it’s not perfect:

  • Open your Search site in SharePoint Designer 2010.  The URL will be something like http://sitename.test.com/Search
  • Click All Files on the left side of the screen.
  • Copy the Results.aspx page, and paste a copy right there in the same folder.  Rename the copy to peopleresults.aspx.
  • Browse to your new page in the browser.  Click the <Page> tab at the top, and click <Edit> at the top left to edit the page.
  • On the left side of the page, delete the “Refinement” web part, and replace it with the “People Refinement” web part. 
    Note that all of the Search web parts are grouped together under Search in the list of web parts to insert.
  • Delete the Search Core Results web part, and replace it with the People Search Core Results one.
  • In the top zone, replace the Search Box with the People Search Box. Done editing.
  • I’ve also noticed that when I’m looking at tag profiles in SharePoint 2010, there’s a button in each tag page that says “View people who are following this tag”.  Notice that the URL for this link is under http://sitename.test.com/Search/Pages/Peopleresults.aspx.  This page needs to be created also.
  • In SharePoint Designer, in All Files, right click and create a new folder.  Call this folder Pages.
  • Copy the peopleresults.aspx file you just perfected AND the results.aspx, navigate to the new Pages folder, and simply paste them in there.

Again, maybe I’m missing something in the bigger picture as to why these pages didn’t exist, but this was just a little bug I came across today, and quickly fixed.  Enjoy.

No comments:

Post a Comment