Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
A portal The <results> tag responsible for displaying the search results.
The following attributes are applicable:
Attribute | Type | Mandatory | Description |
---|---|---|---|
class | String | N | Specify a CSS class name defined in the CSS field. |
isTreeShown | Boolean | Set this attribute to group search results and display the results grouping tree. See the screenshot below as an example.
| |
itemPage | String | Y | Specify a path to a page in the portal structure. This attribute is responsible for customizing search results page URL. Example: If you set the itemPage attribute value to "page", as shown in code example below, then your search results URL will look alike |
itemView | String | N | Specify a view name for a specified search result when opened. If the view is not specified, then the record is opened with the Default view. |
quantity | String | N | Specify the maximum search results amount per page. |
searchQuery | String | N | Add search bar input string to perform search request and display results. |
tsGroupId | Big Integer | N | Enter an ID of the table group to specify the search area. |
Example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<results searchQuery="{data.search}" tsGroupId="157018693719021198" quantity="4" itemPage="page" itemView="Default" isTreeShown="true"> |