IndexSearch
Purpose
The IndexSearch ViewTemplate provides an input field for the ADITO index search. It is used to make global or central search functionality available inside the client.
Figure: IndexSearch ViewTemplate for global search input.
Behavior
The ViewTemplate renders a single text input. The entered search term is written to the configured EntityField and processed by the index search logic of the system.
Configuration
The configuration is minimal and focuses on the entityField property.
| Property | Description |
|---|---|
entityField | Defines the EntityField that stores the search term. |
In the example implementation, this is INDEXSEARCHFIELD.
Example usage
An example is the ViewTemplate IndexSearchTemplate in IndexSearch_view within IndexSearchContext.
In the ADITO client, the ViewTemplate is used through the global search accessed via the magnifying glass icon in the Global Bar.