CustomFilters Element
Collapse the table of content
Expand the table of content

CustomFilters [Refinement]

SharePoint 2010

Last modified: April 19, 2010

Applies to: SharePoint Server 2010

Contains the custom refinement filters for the category.

<CustomFilters 
     MappingType="ValueMapping|RangeMapping" 
     DataType="Date|Numeric|String" 
     ValueReference="Relative|Absolute"
     ShowAllInMore="True|False">
     ... 
</CustomFilters>

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

MappingType

Specifies whether the custom mapping is based on values or ranges. Valid values are:

  • ValueMapping  Can be specified only for SharePoint Server search.

  • RangeMapping

DataType

Specifies the type of data the custom range applies to. Specify one of the following values:

  • Date

  • Numeric

  • String

ValueReference

Specifies whether the data is compared on an absolute or relative basis.

  • Relative

  • Absolute

ShowAllInMore

Specifies whether the filter values are data-driven or if the defined list of values is always shown.

true if the values are data-driven, meaning any value that does not meet the criteria of a custom filter is shown as a raw filter; otherwise, false.

Child Elements

Element

Description

CustomFilter [Refinement]

Specifies a custom refinement filter.

Parent Elements

Element

Description

Category [Refinement]

Specifies the filter category for the custom refinement filters.

Show:
© 2016 Microsoft