Search/Filter Panel The Search/Filter Panel allows you to define the panels for search, filter, and replace in the web part. The Search/Filter Panel contains the following elements: Table 4. Search/Filter Panel Element Description Searched Fields See Searched Fields. Expand Filter panel on Load Allows you to automatically open the Filter panel by default so that the user can perform a search quickly. When set to true, the Filter panel opens when the web part is loaded for the first time. Turn on Media Search Mode Allows you to perform a search before the Media View displays any data. Show Search All Fields Control in Search Panel Determines whether the Filter panel should display the control to search all fields in the list. When set to true, the following control is shown in the Filter panel: The Search All Fields Control allows you to do the following: • Combine the search all fields functionality with other search criteria that has been entered for specific fields. When the search all fields criteria is entered, the Filter panel will construct a filter expression with the "Contain" operator for the following fields in the list: Single line of text, Multiple lines of text, Choice, Lookup (only Lookup to a Single Text field and Lookup to a Number field are supported), Person or Group and Hyperlink or Picture. If the list contains a Lookup to Number field, Search All Fields will not work for negative numbers for that field. The Filter panel will use the entire keywords as the value to be searched. Therefore, if you enter "High Priority" in the search all fields control and perform the search, it will find the following sentence: ‘This is a high priority task’ However, it will not find the following sentence: ‘The priority is not always high’ Panel Button Location Determines the location of the Go, Reset and Close buttons in the Filter panel. This property also determines the location of the Go and Close buttons in the Replace panel. Searched Fields This property defines which fields is displayed in the Filter panel. If defined, the Media View displays the Filter menu items under the Actions tab. To disable the Filter feature, leave this property blank. You will be able to perform a search by pressing Enter. NOTE: Pressing Enter will not allow you to perform a search on such fields as external data, people picker, managed metadata, and a drop-down list. Instead, the default behavior will occur. NOTE: For the Number type field, the “Contain” operator is not supported for negative numbers, and is not available for the following fields: Lookup to DateTime field, Lookup to Calculated field, and Lookup to ID field. The Fields element can contain multiple Field elements.The following are the elements for the Searched Fields. Table 5. Searched Fields Element Description Advanced Mode Turn on if you want to edit Searched Fields in XML format. <Fields> <Field Name="Name" InternalName="FileLeafRef" /> <Field Name="Title" InternalName="Title" /> <Field Name="File Type" InternalName="FileType" /> <Field Name="Site Name" InternalName="Site Name" /> </Fields> Name Specifies the name of the field. The field name is case sensitive. If the field name contains spaces, include the spaces in the name as well. Title Allows you to set the displayed title for the field. The value can be a plain string or an encoded HTML string. Width Allows you to set description that is displayed under the field value. This is useful if you want to give a short instruction or explanation about the field.