<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Faceted Navigation in SharePoint 2013</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/faceted_navigation_in_sharepoint_2013/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/faceted_navigation_in_sharepoint_2013/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 04:10:54 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Configure Faceted Navigation for a Product Catalog in SharePoint 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/faceted_navigation_in_sharepoint_2013/configure-faceted-navigation-for-a-product-catalog-in-sharepoint-2013</link>
      <pubDate>Fri, 23 Nov 2012 06:29:00 GMT</pubDate>
      <dc:creator><![CDATA[Anders Fagerhaug (PM)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/faceted_navigation_in_sharepoint_2013/2012/11/23/configure-faceted-navigation-for-a-product-catalog-in-sharepoint-2013/</guid>
      <description><![CDATA[Being able to refine a search result is a feature that is widely used, and necessary when handling...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="font-family: Calibri;">Being able to <strong>refine</strong> a search result is a feature that is widely used, and necessary when handling large sets of search results. Refining makes you able to narrow down the result set, making it easier to find what you are looking for. <strong>Faceted Navigation is the ability to define different refiners</strong> for different terms in the taxonomy in a product catalog. In other words having different refiners for different product categories.&nbsp; In my example I have a company, Contoso Electronics Superstore, selling different electronic equipment (Audio, cameras, computers, home appliances, phones and TV&amp;Video). &nbsp;For all categories I have defined the refiners Price, Brand and Color. For the sub category &nbsp;<strong>Televisions</strong> (a part of TV &amp; Video) I would like to add the refiner <strong>Screen size</strong> as well. </span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">In this blog post I will show you how to configure Faceted Navigation for a Product Catalog set up in SharePoint 2013.</span></span></p>
<h1><span style="color: #365f91;"><span style="font-family: Cambria;">Pre-requisites</span></span></h1>
<ul>
<li><span style="font-size: small;"><span style="font-family: Calibri;">SharePoint 2013 installed</span></span></li>
<li><span style="font-size: small;"><span style="font-family: Calibri;">A site collection based on the product catalog template containing a product catalog list and a taxonomy term set. The product catalog is shared with the publishing site collection</span></span></li>
<li><span style="font-size: small;"><span style="font-family: Calibri;">A site collection based on the publishing template containing a public facing web site, displaying the products. Data is fetched from the other site collection using Cross Site Publishing (XSP).</span></span></li>
</ul>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h1><span style="color: #365f91;"><span style="font-family: Cambria;">Enabling Faceted navigation</span></span></h1>
<p>Configuring Faceted Navigation is done in the site collection where the product catalog is created. Navigate to <strong>Site settings =&gt; Term store management. </strong>In the left side column, navigate to <strong>Site collection =&gt; Product hierarchy.</strong> In the tab <strong>Intended use</strong>, select the checkbox <strong>Use this Term Set for Faceted Navigation. </strong>Then click <strong>Save. </strong>You have now enabled the term set for this product catalog for Faceted Navigation, and the necessary UIs will be enabled.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/4760.Image1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/4760.Image1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/4760.Image1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/4760.Image1.png" alt="" border="0" /></a></p>
<h1><span style="color: #365f91;"><span style="font-family: Cambria;">Add the refiner web part to the category page</span></span></h1>
<p><span style="font-size: small;"><span style="font-family: Calibri;">In order to see refiners, let&rsquo;s add the refiner web part to the category page in the product catalog. On the site collection containing the public facing web site, navigate to a category page. In <strong>Site settings</strong> =&gt; <strong>edit page </strong>&nbsp;=&gt; <strong>edit page template</strong>: Add the web part <strong>Refinement</strong> from the <strong>Search</strong> category,<br /></span></span><span style="font-size: small;"><span style="font-family: Calibri;">In this web part, navigate to <strong>Edit web part</strong>, and in the <strong>Refiners</strong> section, select the option <strong>Use the refinement configuration defined in the Managed Navigation term set.<br /></strong></span></span><span style="font-size: small;"><span style="font-family: Calibri;">In the <strong>Refinement Target</strong> section, choose the ContentBySearch web part that is displaying items on this page. In this example: <strong>Targeted content search[1].</strong></span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/3022.Image2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/3022.Image2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/3022.Image2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/250x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/3022.Image2.png" alt="" border="0" /></a></strong></span></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Then click <strong>OK</strong> to save the web part configuration. Save the page.</span></span></p>
<h1><span style="color: #365f91;"><span style="font-family: Cambria;">Configure refiners</span></span></h1>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Let&rsquo;s go back to the site collection that contains the product catalog list. In <strong>Site settings</strong>, navigate to <strong>term Store management.<br /></strong></span></span><span style="font-size: small;"><span style="font-family: Calibri;">On the left side column navigate to the top term in the product catalog: <strong>Site collection</strong> =&gt; <strong>Product hierarchy =&gt; Electronics. </strong>Click on the <strong>Faceted Navigation</strong> tab. Then click on the button <strong>Customize refiners.</strong></span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/2148.Image3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/2148.Image3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/2148.Image3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/2148.Image3.png" alt="" border="0" /></a></strong></span></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">The <strong>Refiner configuration</strong> pop-up will be displayed. This is where we set the refiners. Since I&rsquo;m currently on the root term of the product catalog, all child nodes will inherit the refiners I&rsquo;m configuring her.<br /></span></span><span style="font-size: small;"><span style="font-family: Calibri;">From the menu <strong>Available refiners</strong>, select the refiners <strong>RetAdjustedPrice</strong>, <strong>RetBrand</strong> and <strong>RetColor</strong>. These are the managed properties I want to use as refiners. Use the <strong>Add </strong>button to move the selected refiners over to<strong> </strong>the <strong>Selected refiners</strong> window.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/3438.Image4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/3438.Image4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/3438.Image4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/3438.Image4.png" alt="" border="0" /></a></span></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Each refiner can be configured differently and the different refiner types (Text, Int, Decimal and DateTime) will have different configuration options. A preview of the end result can be displayed by clicking on the <strong>Preview refiners</strong> button. Click <strong>OK</strong> to save the refiner configuration. These refiners will show up on every page in the product catalog.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/7838.Image5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/7838.Image5.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/7838.Image5.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/7838.Image5.png" alt="" border="0" /></a></span></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Change the name of the refiners by editing the file <a href="file://\\<servername>:port\sites\<site">\\&lt;servername&gt;:port\sites\&lt;site</a><em></em><strong><em> collection name&gt;\_catalogs\masterpage\display templates\language files\en-us\CustomStrings.js</em></strong></span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Add the following lines in the file:<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: small;"><span style="font-family: Calibri;"><strong>"<em>rf_RefinementTitle_RetBrand": "Brand",</em><br /><em> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "rf_RefinementTitle_RetColor": "Color",</em><br /><em> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "rf_RefinementTitle_RetAdjustedPrice": "Price",</em><br /> </strong>Save the file and refresh the category page:</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/5100.Image6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/5100.Image6.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/5100.Image6.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/5100.Image6.png" alt="" border="0" /></a></span></span></p>
<p>&nbsp;</p>
<h1><span style="color: #365f91;"><span style="font-family: Cambria;">Configure Faceted Navigation</span></span></h1>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">So far, we have only configured refiners to our terms.&nbsp; Now is the time for Faceted Navigation. As I stated in the beginning of this post, faceted navigation is the ability to set different refiners for different terms. I will now demonstrate how to set refiners that will only take effect on one term. For the term <strong>Televisions</strong> I will add a refiner for <strong>Screen size.<br /></strong></span></span><span style="font-size: small;"><span style="font-family: Calibri;">In the site collection where the product catalog list is stored, navigate to <strong>Site setting =&gt; Term store management.</strong> Navigate to the term <strong>Televisions, </strong>&nbsp;click on the <strong>Faceted Navigation</strong> tab. Click on <strong>Stop inheriting</strong>. This action is needed to be able to configure refiners that will be visible on this term only. </span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/8400.Image7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/8400.Image7.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/8400.Image7.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/8400.Image7.png" alt="" border="0" /></a></span></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Then click <strong>Customize refiners</strong>. <br /></span></span><span style="font-size: small;"><span style="font-family: Calibri;">In the <strong>Refinement configuration</strong> popup, find and select <strong>RetScreenSizeOWSNMBR</strong> from the <strong>Available refiners</strong> list. Click <strong>Add</strong> and then <strong>OK.</strong> </span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/0830.Image8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/0830.Image8.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/0830.Image8.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/0830.Image8.png" alt="" border="0" /></a></span></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Then click <strong>Save</strong> in the Faceted Navigation tab to store the configuration.<br /></span></span><span style="font-size: small;"><span style="font-family: Calibri;">Change the name of the refiner from &nbsp;<strong>RetScreenSizeOWSNMBR </strong>to<strong> &ldquo;Screen Size&rdquo;</strong>, by editing the file <strong><em><a href="file://\\<servername>:port\sites\<site">\\&lt;servername&gt;:port\sites\&lt;site</a> collection name&gt;\_catalogs\masterpage\display templates\language files\en-us\CustomStrings.js</em></strong></span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Add the following line in the file:<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: small;"><span style="font-family: Calibri;"><strong><em>"rf_RefinementTitle_RetScreenSizeOWSNMBR": "Screen Size",</em><br /> Save</strong> the file.<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong></span></span></p>
<p>&nbsp;</p>
<h1><span style="color: #365f91;"><span style="font-family: Cambria;">View the end result</span></span></h1>
<p><span style="font-size: small;"><span style="font-family: Calibri;">On the Site Collection containing the public facing web site, navigate to the category page <strong>TV&amp;Video=&gt;Televisions</strong>. The refiner &ldquo;Screen Size&rdquo; will only be visible in this sub category.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/7506.Image9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/7506.Image9.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/56/87/7506.Image9.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-56-87/7506.Image9.png" alt="" border="0" /></a></span></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>