People search result page show custom properties

Category: sharepoint 2013 - search

Question

imughal on Mon, 06 Nov 2017 07:51:53


Hi,

i have created and map some custom properties in user profile - Manage User Properties. Now i want to show these custom properties in people search result page. Now people search result page just show default properties name and designation.

pls guide how can i show further people properties in people search result page.

Thx


iffi

Replies

msspcrmprgrmr on Mon, 06 Nov 2017 08:57:38


Hi,

You have to create custom Item Display Template for this. follow this article Create Custom Display Template.

PriyaranjanKS on Mon, 06 Nov 2017 09:40:19


Hi,

Did you do a Full crawl after adding the user properties, Only after a crawl this would come up in search results. Also check the below references :

Add custom properties to People Search Results

Display values from custom managed properties in search results

sharepoint 2013 people search - custom facets

Regards,

Priyan

Dean_Wang on Tue, 07 Nov 2017 07:41:53


Hi,

You need to create custom managed properties which are mapped to the crawled properties of the custom user properties. Then add these managed properties into the person template. After that, do a full crawl.

Here is a demo for your reference:

http://wwolfe.blogspot.sg/2014/07/sharepoint-2013-add-user-profile.html

Thanks,

Dean Wang

imughal on Thu, 16 Nov 2017 07:58:10


Hi,

I have created a custom template, workemail field was in template i just display it in search result. workfine.

issue is that i want to add two more filed Workphone and Office. i tried to add both fields but both does not show in search result.

In search i  check search crawled and workphone return.

pls guide what could be an issue and how to fix it.

thx.

imughal on Thu, 16 Nov 2017 09:59:09


Hi,

Map my display template under "Site Settings  : Manage Result Types" . now its showing.

Thx