locked
hierarchial refinement panel RRS feed

  • Question

  • I am looking to do some hierarch stuff in the refinement panel.  This is to mimic the managed metadata that is in my document library. Can someone direct me how to do this?

    Thanks,

    Dave

    Tuesday, April 3, 2012 1:09 PM

Answers

  • Hi David,

    The Refinement Panel Web Part's FilterCategoriesDefinition property contains the XML that specifies the filter categories. You can view and modify this property from the Refinement Panel Web Part tool pane in the SharePoint Server search user interface.

    To modify the filter category XML for the Refinement Panel Web Part

    1. In your browser, navigate to the results page URL:

      http://SiteURL/Pages/results.aspx

    2. On the Site Actions menu, click Edit Page.

    3. In the Refinement Panel Web Part, click the edit arrow to display the Web Part menu, and then click Edit Web Part. This opens the Web Part tool pane.

    4. In the Refinement section, clear the Use Default Configuration check box.

    5. In the Refinement section, click the ellipsis (…) button for the Filter Category Definition field.

      This opens the Text Entry window for the Refinement Web Part's FilterCategoriesDefinition property. You can modify the XML directly in this window; however, you may find it easier to copy the code to a file. You can then edit that file by using an application such as Microsoft Visual Studio 2010. After you have finished editing the file, you can copy the modified code back into the Text Entry window and save your changes to the Web Part.

    Resource: http://msdn.microsoft.com/en-us/library/ee819873.aspx

    Tuesday, April 10, 2012 6:57 PM
  • Tuesday, April 10, 2012 7:06 PM

All replies

  • Hi David,

    The Refinement Panel Web Part's FilterCategoriesDefinition property contains the XML that specifies the filter categories. You can view and modify this property from the Refinement Panel Web Part tool pane in the SharePoint Server search user interface.

    To modify the filter category XML for the Refinement Panel Web Part

    1. In your browser, navigate to the results page URL:

      http://SiteURL/Pages/results.aspx

    2. On the Site Actions menu, click Edit Page.

    3. In the Refinement Panel Web Part, click the edit arrow to display the Web Part menu, and then click Edit Web Part. This opens the Web Part tool pane.

    4. In the Refinement section, clear the Use Default Configuration check box.

    5. In the Refinement section, click the ellipsis (…) button for the Filter Category Definition field.

      This opens the Text Entry window for the Refinement Web Part's FilterCategoriesDefinition property. You can modify the XML directly in this window; however, you may find it easier to copy the code to a file. You can then edit that file by using an application such as Microsoft Visual Studio 2010. After you have finished editing the file, you can copy the modified code back into the Text Entry window and save your changes to the Web Part.

    Resource: http://msdn.microsoft.com/en-us/library/ee819873.aspx

    Tuesday, April 10, 2012 6:57 PM
  • Tuesday, April 10, 2012 7:06 PM