SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to be able to show the latest 5 members of staff to join the organisation on our intranet homepage. I think the best way to do this would be with the People Search Core Results web part, but I can't come up with a query that will do it.

Can anyone suggest a query to pick out recent staff? Or pick out all staff, ordered by start date and then limit to 5 only?

Thank you!!

share|improve this question
Have you looked at the Anniversary Date field? – Matthew McDermott Sep 20 '12 at 12:01
up vote 0 down vote accepted

Okay I finally managed to figure this out:

The main guide is here:

  1. Make a custom attribute on user profiles
  2. Make that custom attribute import from the whenCreate AD attribute
  3. Run an incremental crawl (important, otherwise nothing shows up in step 4!)
  4. Add a new Managed Property in search that maps to the custom attribute
  5. Edit the People Search Core Results XSL to fetch the Managed Property
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.