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)">