top of page
Writer's pictureVijai Anand Ramalingam

Add Custom Refiners in the Refinement Panel of Search Results Page For SharePoint 2013 Online

Updated: Mar 18, 2019

This article shows how to add custom refiners in the Refinement Panel of the Search Results page for SharePoint 2013 Online.


Sign up for an Office 365 Developer Site. Ensure you have access to an Office 365 Developer Site. Here are three ways to get one:

  • Are you an MSDN subscriber? Visual Studio Ultimate and Visual Studio Premium with MSDN subscribers receive an Office 365 Developer Subscription as a benefit. Redeem your benefit today.

  • Do you have one of the following Office 365 subscription plans?

Office 365 Midsize Business Office 365 Enterprise E1, E3, E4, or K1 Office 365 Education A2, A3, or A4 Office 365 Government G1, G3, G4, or K1


If so, you can provision a Developer Site from the Office 365 admin center. For more information, see how to create a Developer Site within your existing Office 365 subscription.


Site Content Type

I have created a site content type that has the following columns:











Document Library:

I have created a Document Library in which I have attached the “My Content Type” content type and added a few documents.






Configure Managed Properties

In this article you will see how to add custom refiners in the Refinement Panel of a Search Results page for SharePoint 2013 Online. I have 2 fields named “Document Category” and “Document Type” that will be added as refiners.

  • Navigate to SharePoint Admin Center.

  • Click on the search link on the left navigation.












  • Click on the Managed Properties link and search for the Refinable String managed property.









  • Select RefinableString00, click on the Edit/Map Property.








  • On the Mappings to crawled properties section, click on Add a Mapping.


  • Search for Category and select ows_Document_x0020_Category. Click on the OK button.
















  • The Document Category crawled property is mapped to RefinableString00.


  • Similarly map a Document Type crawled property to RefinableString01.



Note: Add only the crawled properties that have an ows_Prefix.


The following describes how to add refiners to the refinement panel:

  • Navigate to the Enterprise Search Results page.

  • Then click Edit page.
































  • Edit the Refinement web part.








  • Click on Choose Refiners...

































  • Add RefinableString00 and RefinableString01.



































  • Click on the OK button.

  • Click on the OK button in the web part properties.

  • Check in and publish the page.









  • Enter a keyword and then click on the Search button. You will then be able to see the custom refiners in the refinement panel.















Summary

In this article you saw how to add custom refiners to the Refinement Panel of a Search Results page for SharePoint 2013 Online.

0 comments

Comments


bottom of page