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 K1If 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.
- You can either start with a free 30-day trial, or buy an Office 365 developer subscription (with a one-user license for either option) using one of the following links. This subscription costs $99.00 per year.
Please refer to set up a development environment for SharePoint Add-ins on Office 365 for more details.
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 RefinableString 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.

Kumaresh RajalingamPosted Mar 24, 2016, 10:03 AM
Nice share sir
Kumaresh RajalingamPosted Mar 24, 2016, 10:03 AM
Nice share sir
Rupali ShindePosted Oct 23, 2015, 4:39 AM
hi, can you please explain below question's. 1. on which site , you have created this content type ?? Search or Developer Site ??2. Where Document library is created ?? Search or Developer Site ?? 3. as show in image ows_Document_x0020_Category crwaled property is not visisble in dialog box ?? what are possible reason for it .
Neeraj KumarPosted Aug 5, 2015, 5:43 PM
Nice Article
Shridhar SharmaPosted Aug 5, 2015, 10:42 AM
good one :)
Sibeesh VenuPosted Aug 5, 2015, 6:31 AM
Nice Share
Debasis SahaPosted Aug 5, 2015, 1:03 AM
Nice one..!
Nilesh JadavPosted Aug 5, 2015, 12:48 AM
Nice article !
Santhakumar MunuswamyPosted Aug 4, 2015, 10:05 PM
Good Article. Thanks for sharing :)
RakeshPosted Aug 4, 2015, 2:11 PM
Nice Explain
Chervine BhiwooPosted Aug 4, 2015, 1:54 PM
Good Article
Abhay ShankerPosted Aug 4, 2015, 12:04 PM
Nice one...
Mohammed IbrahimPosted Aug 4, 2015, 7:55 AM
good
Gopi ChandPosted Aug 4, 2015, 6:16 AM
Its great :)
Rajeesh MenothPosted Aug 4, 2015, 5:26 AM
Good Article