Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8419299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:34:13+00:00 2026-06-10T02:34:13+00:00

I am working on a solution to allow users to search for other users,

  • 0

I am working on a solution to allow users to search for other users, since we use SharePoint 2010 and have access to the SharePoint people search it seems like an easy solution. For the most part it is close to what is needed but it appears to be missing a few things.

The biggest thing is the ability to search by office/location.

The search appears to return the office location but I can’t seem to search on it.

I expected to be able to search on it by doing BaseOfficeLocation:”Office Location To Search For” since Department:”Department To Search for” appears to work.

I have tried Office and OfficeLocation but it just doesn’t seem to work. I found a blog that said that it appeared as if this didn’t work as expected but there were no more details.

Is there a setting that I need to enable or do I need to do some custom development here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T02:34:14+00:00Added an answer on June 10, 2026 at 2:34 am

    This might be a little late but here goes.

    You basically need to add a metadata property that maps to the office (or whatever) field on the users profile. You then need to have that crawled. Finally you can add office to the search option. Below give you a quick overview of how to do it.

    Adding a new managed metadata property

    • Go to Central Admin.
    • Go to manage service applications
    • Go into your search service application
    • On the left under “Queries and Results” go to “Managed Metadata Properties”
    • Click “New Managed Property”
    • Give it a name, I called mine “Office”
    • Click “add mapping” and select people
    • Select “People:Office(Text)” (this depends on which field on the profile you are using to put the office in)
    • Select “Include values from a single crawled property based on the order specified”
    • Click OK

    Now run A FULL CRAWL. That’s quite important. If it’s not a full crawl it wont be picked up.

    Wait for the full crawl to finish.

    Adding the field to the search

    • You should now be able to search for Office:”office name”
    • That’s not very useful to a user
    • What we want is to add it to the search options
    • Edit the page and go to the web part properties for the search box
    • Go to “Miscellaneous” and expand it
    • Open up “Properties” and copy out the XML. Here you now need to add in your new field.
    • It’s going to look something like this:
    • <Property Name=”Office” ManagedName=”Office” ProfileURI=”urn:schemas-microsoft-com:sharepoint:portal:profile:Office”/>
    • Add that in and then save it back into the web part
    • Click on search option, type in the office in the new office field and click search
    • BOOM!! Office searching.

    Unless I’m missing something you’re going to need to do this on both the initial people search page and the results page.

    Here’s a link that i based that all on.

    http://blogs.technet.com/b/meamcs/archive/2010/12/23/sharepoint-2010-people-search-using-metadata.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on solution for Sharepoint 2010 c# and asp.net and need to
I'm working on a solution to a problem where users could potentially access images
I'm working on a small Rails application in which I'd like users to be
I am currently working on a system that would allow users to add additional
I am working an a search page that allows users to search for houses
I have a form with three sections, and I want to allow the users
I am working on single-page AngularJS application that doesn't have any backend but use
I'm working on dashboard editor in flex, an application that allow users to drag
I'm working on a multi-language solution in Sitecore and want to use the DisplayName
Ok, so I'm working on a project that will allow users to record themselves

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.