While fooling around with the search result page I decided that it would be useful if my employees would be able to search explicit on these custom properties. I found a couple of tutorials on how to modify the "normal" advanced search page but not much on the people search page so I dug around a bit.
This is what I came up with (sorry for the rush job but I'm in a rush):
-
Browse to your advanced people search page.
-
Edit the page.
-
Modify the People Search Box web part.
-
Expand the Miscellaneous section.
-
Click in the Properties text field and open it up in the "builder" (click the … to the right of the field).
-
Add the custom property you want to be able to search on where you want it to show up in the form. Use the following syntax:
<Property Name="YourPropertyHere" ManagedName="YourPropertyHere" ProfileURI="urn:schemas-microsoft-com:sharepoint:portal:profile:YourPropertyHere"/> -
Click OK to save the modified form.
-
Test or publish your page as needed.
You should probably use Notepad or a similar text editor when editing the properties as some of the code that SharePoint spits out is quite messy.
EDIT: You need to modify both the search page (people.aspx) as well as the result page (peopleresults.aspx) if you want consistency in the search options.
Let me know if you have any problems with this and I'll do my best to help you out.