widget search
This is the code block to define a search widget. The search widget allows searching across multiple data tables simultaneously. If desired you can also include navigation links to take the user from the search results to the corresponding pages.
Available properties
Name | Description | Default value | Available options | |||
---|---|---|---|---|---|---|
take |
Here you specify the number of items that are to be fetched when scrolling down through the suggestion. The default value is 10. |
10 |
Available objects
Name | Description | |||
---|---|---|---|---|
This is the configuration code block that defines the data table that is to be searched through. Multiple search sources can be specified in one search widget. |
source search
This is the configuration code block that defines the data table that is to be searched through. Multiple search sources can be specified in one search widget.
Name | Description | Default value | Available options | |||
---|---|---|---|---|---|---|
hierarchy |
Hierarchical field (vpath) - a field to define parent-child relations when building hierarchy (example - accounts:ParentAccountID) |
|||||
iconType |
Here you define the type of icon that is to be used in the search list item. The default type is 'contact'. |
contact |
||||
navigateTo |
Page to navigate to or a cross-document link entity |
|||||
sortColumn |
Input a vpath or an expression that references the data table field(s) to sort the search results by inside the source. |
|||||
sortOrder |
This defines the search result sorting order inside the Source (ascending | descending). |
ascending |
||||
table |
Input the vpath to the table you want to search through. |
accounts: |
||||
value |
Here you need to input a vpath or an expression that references the data table field(s) to be searched through. The order of operands affects both the search and the display of the search results. |