6.3.3 Search Results Formatting Options
You can customize how unified search results appear in three ways.
Using a combination of a Search region with one more Search Configurations, you can customize how your unified search results appear by:
- Defining custom CSS rules to change how the default search results appear,
- Providing a custom Result Row Template on the search region,
- Configuring a Default Result Row Template on some or all of your search configurations
The CSS approach is good for simpler changes to spacing, fonts, and colors. The other two options give you full formatting control. Define a Default Result Row Template on a search configuration to style its result row. It can reference column names from the data source as substitutions. This template gets used automatically unless you configure the Result Row Template on the Search region to format results of all sources in a consistent way.
- Custom Search Region Row Template
By default, the search region formats results using a built-in result row template when a search configuration does not specify its own. This "blueprint" combines HTML tags with&NAME.references and HTML directives for conditional formatting. - Custom Search Configuration Template
To format a specific search configuration's results in a custom way, use a Default Result Row Template. Find this setting in the Icon and Display section of the shared component's edit page.
Parent topic: Unified Search Results Across Sources