1

I have created a new display template for local people search and it's working perfectly.

I wanted to create a result type for local people search to use my custom display template but it's using the default person display template. Can someone help me on this?

2 Answers 2

1

As far as I'm aware the Display Template is configured on the actual search landing page. If you reconfigure the web part on the peopleresults.aspx page to use the custom display template it should render as you desire.

If you want to be able to render using both the default people display template and the custom one you created, then you simply need to result pages.

Update:

To configure a Result Type so that the changes will also be reflected on the regular Results.aspx page:

  1. Navigate to the Site Settings Page
  2. Under the Search category, select the Result Types link
  3. Select the New Result Type option
  4. Give it a name
  5. For the source, select Local People Results
  6. Select your Display Template
  7. Click the save button
1
  • Yeah my custom display template is working in peopleresults.aspx. But in results.aspx page if we searh for people it'll display people result. In that case it's not using my custom template for that I wanted to create a result type. So it will use my custom template in all the result pages. Can you help me on creating a result type for people search??
    – Roy Justin
    Jun 24, 2013 at 7:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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