Save this file, and refresh the Cameras page to verify that our refiners now have nice, user-friendly display names. If we browse to the Digital cameras category, we can see that the category-specific refiner MEGA PIXELS is displayed. So, our category-specific refiners now display for the correct category, and they all have user-friendly However, there is another small detail that would make our refiners even better. Right now we can't see any numeric details for the refiner values. For example, we can't see how many cameras are of the color Silver, or how many cameras have 14 mega pixels. To see this information, we need to addcounts to the refiner values. How to add counts to refiner values In your mapped network go to Display Templates --> Filters. Open the HTML file Filter_Default. Change the value for ShowCounts to true. Save the file, and refresh the Cameras page to verify that refiner counts are displayed. You’ll see that refiner counts only display for refiners it’s only possible to select one refiner at a time. To add refiner counts to refiners where it’s possible to select multiple refiner values, open the HTML file Filer_MultiValue, and repeat steps 3 and 4. Now when we refresh the Cameras page, all of the refiner values have counts. Nice! So, when visitors come to our Contoso site, they can use category-specific refiners to easily find the product they’re looking for. But there’s still one more thing missing: when visitors are on a top level category page, for example Cameras, they can't easily see which subcategories are under Cameras. Luckily, there is a Web Part that will take care of this for us. I will show you how to add this Web Part in the next -- and last -- blog post of this series.
Save this file, and refresh the Cameras page to verify that our refiners now have nice, user-friendly display names. If we browse to the Digital cameras category, we can see that the category-specific refiner MEGA PIXELS is displayed. So, our category-specific refiners now display for the correct category, and they all have user-friendly However, there is another small detail that would make our refiners even better. Right now we can't see any numeric details for the refiner values. For example, we can't see how many cameras are of the color Silver, or how many cameras have 14 mega pixels. To see this information, we need to addcounts to the refiner values. How to add counts to refiner values In your mapped network go to Display Templates --> Filters. Open the HTML file Filter_Default. Change the value for ShowCounts to true. Save the file, and refresh the Cameras page to verify that refiner counts are displayed. You’ll see that refiner counts only display for refiners it’s only possible to select one refiner at a time. To add refiner counts to refiners where it’s possible to select multiple refiner values, open the HTML file Filer_MultiValue, and repeat steps 3 and 4. Now when we refresh the Cameras page, all of the refiner values have counts. Nice! So, when visitors come to our Contoso site, they can use category-specific refiners to easily find the product they’re looking for. But there’s still one more thing missing: when visitors are on a top level category page, for example Cameras, they can't easily see which subcategories are under Cameras. Luckily, there is a Web Part that will take care of this for us. I will show you how to add this Web Part in the next -- and last -- blog post of this series.
09_cross-site-publishing.docx