Skip to main content

Adding a Search Bar

Option
hasSearchBar DataElement

Provides a search bar to search on a string fieldFieldA property of a DataElement expanded to a database column and user interface input element.. The value should be field:op where op is the operator such as eq, lt, lk... It is required to also define a Finder for the DataElement which matches the operation used for the searchbar.

Case-insensitive matching of the name of an element in the searchbar can be achieved by defining the finderFinderA search specification combining field-operator pairs to execute standard data queries on a DataElement. findElementByNameLk and the following option:

<options>
<hasSearchBar>name:lk</hasSearchBar>
</options>