I have created a user profile property of type string and i pick a term set for this property. How to map this user profile property to managed property in order to search work?


This should be very easy.

When you create the custom user profile property you have to make it "searchable"

search setting user profile property

After this you can crawl the people data in your search service application. The search will create a so called "crawled property". You have to map this crawled property to a managed property. After this the custom user profile property should be visible in the search center - but only if you display template/xslt render this property.

If you need further instructions please leave a comment.

| improve this answer | |

For a user profile property to become a crawled property, it is important that in the user profile service > Manage User Properties > Edit user profile property the policy settings > Default privacy setting is set to 'Everyone'.

Else, no one but you will be able to retrieve the value, thus not being able to map it to a managed property

| improve this answer | |

You could create another column that is a managed property and copy the values into it.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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