.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Customizing the refinement panel - ContentSource/SiteName

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :SharePoint


I'm trying to add a category based on the "ContentSource" property but this does not seem to work. To test this I copied the following line:

<Category  Title="Site"  Description="Which site this document is from"  Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"  MetadataThreshold

View Complete Post

More Related Resource Links

SharePoint 2010 Refinement Panel - Show more link issue

Hi,  I have deployed a Refinement Panel on my search result page. And I have modified the Filter Category Definition to get some Managed Metadata columns. Below are the xml changes: <?xml version="1.0" encoding="utf-8" ?> <FilterCategories>   <Category    Title="Category"    Description="Managed metadata of the documents"    Type="Microsoft.Office.Server.Search.WebControls.TaxonomyFilterGenerator"    MetadataThreshold="3"    NumberOfFiltersToDisplay="3"    MaxNumberOfFilters="20"    ShowMoreLink="True"    MappedProperty="ows_MetadataFacetInfo"    MoreLinkText="show more"    LessLinkText="show fewer" />   <Category    Title="Modified Date"    Description="When the item was last updated"    Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"    MetadataThreshold="5"    NumberOfFiltersToDisplay="6"    MaxNumberOfFilters="0"    SortBy="Custom"    ShowMoreLink="

2 refinement panel webparts behaving the same despite different settings

Finally! And the syntax should be Operatingx0020System (without the "_"), Now i have strange different case - i placed 2 refinement panel webparts at the page - one with my customizations and the second is the default one, and somehow the second behave exactly like the customized! although no customizations there...

Refinement Panel Customization with Managed Property

Hi, I've customized the refinement panel with a Managed Property I've created myself. The refinement panel takes into account this managed property and disply it well. However, if this Managed Property is multi-valued, then each entry in the refinement panel does not split the multi valued column into different values and display a single value like : Enter Choice #1;Enter Choice #2;Enter Choice #3; and of course in that case the refinement does not work. I did the same thing in MOSS 2007 with the codeplex faceted search web part release 2.5 and it was working fine. Upgrading to release 3.0 however seems to produce the same issue as in SharePoint 2010. Any help would be greatly appreciated. Hervé

Category definition in refinement panel


I am using a refinement panel in SharePoint 2010


 I want to display two columns from type "managed metadata"

I add the following xml code to the "Filter Category Definition " property at the beginning of the <FilterCategories>

Sharepoint 2010 FAST Template Web Parts Documentation (refinement panel)

I am trying to create a prototype for a sharepoint 2010 site for my team and I am working with the FAST Template (out of the box). I am implementing the "Search" Web parts that Include: Refinement Panel, Related Queries, Search Action Links but all of them ask for a refinement schema. I am looking for documentation on this on the MSDN site and I cannot find nothing that really is helping me out. For example, this is the Refinement Panel Caption property for the "Refinement Panel" web part:

<?xml version="1.0" encoding="utf-8"?>
  <Category    Title="Result Type"    Description="The file extension of the item"    Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"    MetadataThreshold="5"    NumberOfFiltersToDisplay="4"    MaxNumberOfFilters="0"    SortBy="Frequency"    SortDirection="Descending"    SortByForMoreFilters="Name"    SortDirectionForMoreFilters="Ascending"     ShowMoreLink="True"    MappedProperty="FileExtension"    MoreLinkText="show more"    LessLinkText="show fewer">
    <CustomFilters MappingType="ValueMapping" DataType="String" ValueReference="Absol

Sharepoint Designer 2010 Corrupting Refinement Panel


I wonder if anyone has seen this...

Using Sharepoint Designer 2010, try to customize the refinement panel in a search results page to show a managed property.

a. with an existing or new refinement panel added to the results page, right click and modify the webpart's "Filter Category Definition" [In my case I simply changed the title of the first category]

b. uncheck the 'use default configuration'

c. Save the page and call it up in a browser.

The refinement panel shows a garbage string of 1000 characters.

The above works OK if the page is edited via a browser, but not using Sharepoint Designer 2010.

Anyone seen this?

Thank you!

Mike Bennett

Customizing the UI around the Filters


I have started working on a new project and thought it would be a great idea to dig into the latest version of the Dynamic Data framework that shipped with VS2010.  For the most part, I am impressed, it seems to be pretty easy to extend and create a rich and flexibile UI -- at least that is what I thought until I got to working on a better layout for the filters.

The situation is this:

I have a table with 25 columns and I need to display around 10 different filters (basically and interactive report) -- the filters are of various types.

The problem:

How in the world do I custom the UI layout of the filters.  It seems that with the latest QueryFilterRepeater control we have been left with almost nothing to work with (outside of turning filters on/off and setting the FilterUIHint).  What if I wanted to wrap all of the filters in an expand/collapse region and then inside of that have then sitting in a table of no more than 4 columns (so with 10 filters I wold have 3 rows). 

I have tried extending the QueryFilterRepeater but it seems like there is nothing in that class that we can work with (the data binding events are not even used).

Am I missing something, or am I just out of luck right now?

Team System: Customizing Work Items


Team Foundation Server's work iIem tracking system provides a number of advanced customization options.This article explores custom control support that lets you link to date, enhance the user experience, present data, and more.

Brian A. Randell

MSDN Magazine October 2009

Foundations: Customizing the New WPF Calendar Controls


Late last year Microsoft released Calendar and DatePicker controls for WPF in the WPF Toolkit. We'll show you how they work, and how you can customize them.

Charles Petzold

MSDN Magazine June 2009

Visual Basic: Simplify Common Tasks by Customizing the My Namespace


Underlying the My namespace's APIs is a fully extensible architecture you can leverage to customize the behavior of My and to add new services to its hierarchy to adapt to specific application needs. the My namespace is optimized to provide simple solutions to common problems. But if your requirements are different, you can use the My namespace's customization model to modify the behavior of individual My namespace members to meet specific application requirements.

Joe Binder

MSDN Magazine July 2005

Security Briefs: Customizing GINA, Part 2


GINA, the Graphical Identification and Authentication component, is a part of WinLogon that you can customize or replace. Last month I introduced GINA customization; this month, I'm going to drill down to implement each of the GINA entry points.

Keith Brown

MSDN Magazine June 2005

Security Briefs: Customizing GINA, Part 1


Over the years I've had many people ask me to write about GINA, the Graphical Identification and Authentication component that serves as the gateway for interactive logons. This month I'll begin my coverage of this topic to help you get started if you're tasked to build such a beast.

Keith Brown

MSDN Magazine May 2005

More Windows 2000 UI Goodies: Extending Explorer Views by Customizing Hypertext Template Files


The Web-style interface is the default Explorer folder view for the Desktop Update in Windows 2000. The Desktop Update uses HTML-based hypertext templates to create the Web view, and you can customize these templates to include your own views and commands. This article shows you how the Explorer Web view works and how to build your own custom templates for it. You'll see how to add a command prompt and task buttons to a new folder view using HTML, script, and ActiveX controls. The shell object model and thumbnail shell extensions are also examined, then used to build a simple icon viewer for Explorer.

Dino Esposito

MSDN Magazine June 2000

UserControl like asp:Panel


Is it possible to write own User Control with functionality like asp:Panel?

Dynamic Checkboxlist exception when adding to Panel when using Master Page


In essence, I am creating Dynamic Checkboxlist controls and adding them to a Panel.  It works well when I do not have a Master Page configure to this webpage. Once I have a masterpage congifured.. I get a "Object Reference not set to instance of object" error on the Panel_Control.Controls.Add(Checkboxlistnew) line:

protected void Page_PreInit(object sender, EventArgs e)
        XML OXML = new XML();
        alistChkBoxLabels = OXML.XMLTransform("C:\\Documents and Settings\..\\Config_new.xml", "config_options/check_box/applications/app/@name");
        int count = 1;
        alistCheckisFacility = new ArrayList();
        alIDTracker = new ArrayList();
        while (count <= alistChkBoxLabels.Count)

            Checkboxlistnew = new CheckBoxList();
            Checkboxlistnew.ID = count.ToString();
            Checkboxlistnew.Items.Add(new ListItem(alistChkBoxLabels[count - 1].ToString(), alistChkBoxLabels[count - 1].ToString()));

            String sAppName = alistChkBoxLabels[count - 1].ToString().Trim();

            alistCheckisFacility = OXML.XMLTransform("C:\\Documents and Settings\\Administrator\\My Documents\\Visual Studio 2005\\WebSites\\User_Trial\\Config_new
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend