Adding refiner count in Refinement Web Part in SharePoint 2013.

Hi,

Out of the box the Refinement web part shows the different filters, but it doesn’t show the number of count for the results.

For this we need to modify Filter_Default.html page that is being used by these filters.

Go to the master page gallery

https://test.sharepoint.com/sites/contoso/_catalogs/masterpage/Forms/AllItems.aspx

Select Display Template à Filters à Filter_Default.html

Download the file

Make the following change in it

Change the ShowCounts to true and upload the file.

Do the search again and we will see the count

Hope it helps.


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

2 thoughts on “Adding refiner count in Refinement Web Part in SharePoint 2013.”

  1. in my case when upload the html file the equalent js file is not creating. Because of this i am unable to select my template in the refinement panel webpart.

    Could you please tell me why java script file is not creating?

    Like

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s