SearchCriteria class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:36

Description

Defines search providers (which fields are displayed when you want to search) and search consumers (which data is displayed when you execute the search).

Namespace

xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"

Members

Name: The value of the Name is referenced in <l:SavedSearchControl="..,", <l:SearchConditionsControl SearchCriteriaTarget="..." and SearchCriteriaSource="...". Search panel takes only SearchCriteriaTarget, while results take both. Preview section takes only SearchCriteriaSource, typically through: <l:InfoListBox SearchCriteriaSource="{Binding Path=(l:ShellData.ShellData).SearchCriteria[CalendarResultView], RelativeSource={RelativeSource Self}}" l:ShellMode.Allowed="Browse"/>
BaseQueryName: The value of the BaseQueryName point to a BaseQuery Name="..." in the xxx_Config.xml file, ie. on the place where are defined directory styles, sort orders and search fields. There could be only one BaseQuery in the xxx_Config.xml file that gets attached.
SearchName: The value of the SearchName points to the searchObjectUI name="..." within the same BaseQuery. There could be more searchObjectUI parts in one base query, so this statement connects the tab and the desired fields list.
AutoApply: If True, the search is updated on each character typed in any search box, or with any selection; if False, you have to click the Refresh button, to refresh the list.
ItemsPerPage: A "paging" of searches: if you specify, for example, 100 items, GN4 will display the results after returning first 100 items, and then will add new results when you click the button to get more.
hmtoggle_plus1Examples of various <l:SearchCriteria> in the standard configuration
hmtoggle_plus1All lines in configuration