---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Tab filter component setup

# Tab filter component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
The Tab filter component enables users to filter search results based on defined sources and sort the results based on configured fields.

## Before you begin

This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.").  
Note:  
This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.

Role required: admin or ui_builder_admin

## Procedure

1. Define a label for Tab filter that differentiates it from other components in the content tree.  
   A descriptive label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Manage UI pages and page variants](https://www.servicenow.com/docs/Hq7OFdFRjvDFnNsfdtsMGw "Learn what a page is in UI Builder. Understand the building blocks of a UI Builder page, such as column layouts and components.") .  

   ![Shows the tab filter component in the UIB content tree]()  
2. Select the Tab filter component using one of these methods:
   * Click anywhere within the component on the page.
   * Select the label you created for your component in the content tree.

   {#tab-filter-component-uib-setup__choices_ykl_jbp_45b}  
   The configuration options appear in the panel on the right.  

   <br />

{#tab-filter-component-uib-setup__steps_xkl_jbp_45b}

## Tab filter component properties {#ariaid-title2}

Define the search and sort filters for the Tab filter component.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

* Data binding: Creates dynamic property values from multiple sources. Sources include state variables (@state), URL variables (@context), or data resource payloads (@data). For details, see [Add and configure data resources to a
  page](https://www.servicenow.com/docs/~B53KgSqh6jyRj9wmzg8LA "Add data resources to dynamically expose data from tables, records, or other elements on your page in UI Builder.") .
* Scripting: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://www.servicenow.com/docs/JxkxcsWDJlkywLr4rc~p8A "Create and bind a client state parameter value to a component in UI Builder. By adding custom values to your components, these components can then be automatically updated through a script.") .
{#tab-filter-config-properties__choices_4jq_bp0_csl}  
{#tab-filter-config-properties__table_p2l_qdp_45b__entry__2}

| Label \[property\] | Description |
|-|-|
| Search filters \[searchFilters\] | The searchFilters response from the Search Filter GraphQL API; it contains the data for tab items with a sysId and a label. |
| Selected filter tab \[selectedFilters\] | Specifies the ID of the selected filter tab. If this property is not passed in, the All filter tab is selected by default. |
| Sort filters \[sortFilters\] | Response from the Search Filter GraphQL API; it contains the data for sort by filter items with sysId and label. |
| Selected sort filter \[selectedSortFilters\] | Specifies the ID of the selected sort filter. If this property is not passed in, the Relevancy filter is selected in the sort by filter dropdown by default. |
[ ]

{#tab-filter-config-properties__table_p2l_qdp_45b}

## Tab filter component events {#ariaid-title3}

Select event handlers to configure the events provided with the Tab filter component. Event handlers work with data resources to link the Tab filter actions to the data you want to display to your users.
The Events tab shows the events used by the Tab filter component. To view the available events, select + Add event mapping. Select the event in the list to add one or more event handlers.

### Event handlers {#tab-filter-config-events__section_bv4_yfp_45b}

Event handlers work with data resources to link the Tab filter actions to the data you want to display to your users. Select the event in the list to add one or more event handlers.

For instructions on adding event handlers to an event, see [Configure an event handler](https://www.servicenow.com/docs/8s23OEG1s5oowl~vaOUlLw "Add an event handler to a page, component, data resource, or declarative action within UI Builder so that your user can trigger an action.").  

<br />

### Event descriptions {#tab-filter-config-events__section_cv4_yfp_45b}

{#tab-filter-config-events__table_z3k_pgw_c5b__entry__2}

| Event | Description |
|-|-|
| Tab filter selected | Dispatched when the user selects a tab filter. The payload includes `selectedFilter`, which contains the JSON stringified array containing the sys_id of the tab filter selected by the user. |
| Sort filter selected | Dispatched when the user selects a sort filter. The payload includes the `selectedFilter`, which contains the JSON stringified array containing the sys_id of the sort filter selected by the user. |
[ ]

{#tab-filter-config-events__table_z3k_pgw_c5b}

