Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.82 KB

fieldfilteroptions-element.md

File metadata and controls

60 lines (43 loc) · 1.82 KB
title manager ms.date ms.audience ms.topic ms.localizationpriority ms.assetid description
FieldFilterOptions element
soliver
3/9/2015
Developer
reference
medium
b409e73c-bdca-4299-860d-13ac0b470c37
Used in the HeaderPattern sections of the FldTypes.xml file to display filtered drop-down menus.

FieldFilterOptions element

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Used in the HeaderPattern sections of the FldTypes.xml file to display filtered drop-down menus.

<FieldFilterOptions
  AllItems = "Text"
  BooleanFalse = "Yes" | "No"
  BooleanTrue = "Yes" | "No"
  NullString = "Text">
</FieldFilterOptions>

Elements and attributes

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

Attributes

Attribute Description
AllItems
Required Text. Specifies a localized string that is displayed when filtering a drop-down list; used to indicate all items.
BooleanFalse
Required Text. Specifies the string that is displayed if the user wants to select rows based on the falseness of a Boolean field.
BooleanTrue
Required Text. Specifies the string that is displayed if the user wants to select rows based on the trueness of a Boolean field.
NullString
Required Text. Specifies the text that is displayed to represent an empty item.

Child elements

None

Parent elements

Numerous

Occurrences

  • Minimum: 0
  • Maximum: Unbounded

Example

The following example defines options for filtering.

<FieldFilterOptions BooleanTrue="Yes" BooleanFalse="No"
   NullString="(Empty)" AllItems="(All)">