Search&List, SearchSubList, ListView Widget
Learn to apply Search&List configuration defined in the Search action.
The Search&List configuration defined in the Search action is applied as follows:
- If the Search&List configuration for a virtual info area is defined, only the records matching the respective filter criteria are displayed. Thus virtual info areas can be used instead of fixed filters.
- If the Search&List configuration for a physical info area is defined, all records of that info area are displayed regardless of whether they match a criterion of a virtual info area or not.
Example: A virtual info area VHOS for companies (FI) that are hospitals is defined. Searching in VHOS returns only hospitals, while searching in FI returns all company records, regardless of whether these are doctors, hospitals etc.
Context Menu
The context menu of the list is either the menu explicitly defined in the
Search&List configuration (e.g. M_Company
) or the default menu
matching the info area of the record. For further details, see Search&List Configuration.
If "Default" is defined for the menu in the Search&List configuration, the context
menu for lists and sub-lists is determined according to the defined
virtualInfoAreaReadMode
. For further details, see virtualInfoAreaReadMode.
The context menu displayed for records in SearchSubLists
is determined as follows:
- The
SearchSubList
header contains SubListParams for all defined sub-info areas. The SubListParamvirtualInfoArea.ReadMode
defines the behavior of the context menu per sub-info area. - The Search action template contains SubListParams defining the behavior of sub-lists. The SubListParam
virtualInfoArea.ReadMode
defined here is applied to all sub-lists. - The Search action template input argument
virtualInfoAreaReadMode
defines the behavior for the result set and all sublists. - The Web Configuration parameter
virtualInfoArea.List.ReadMode
defines the context menu behavior for all lists.
Filters
Virtual info areas are also used as filter namespaces. Therefore filters defined for the physical info area (e.g. FI) are not visible in a Search&List defined for a virtual info area (e.g. VDOC) and vice versa. For further details, see filterNameSpace.
MiniDetails
MiniDetails are always read from the configuration of the specified, physical or virtual, info area.