---
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


---

# Timeline component setup

# Timeline component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 minutes to read  
Timeline shows different activities in chronological order spread over a set time range. In a case record, agents can see a time line view of case activity. In CMDB, you can see
different events that occur for a configuration item over a period of time.

## 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 Timeline 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 timeline component in the UI Builder content tree]()  
2. Select the Timeline 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.

   {#timeline-component-uib-setup__choices_cat_hyc_cry}  
   The configuration options appear in the panel on the right.  

   <br />

{#timeline-component-uib-setup__steps_8gl_znq_of4}

## Timeline component properties {#ariaid-title2}

Configure the appearance and time range of your Timeline with these properties.
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.") .
{#timeline-config-properties__choices_4jq_bp0_csl}

### Properties {#timeline-config-properties__section_aqn_fnv_24b}

{#timeline-config-properties__table_nnk_v4t_c5b__entry__2}

| Label \[property\] | Description |
|-|-|
| Compact view \[isCompactView\] | Displays the timeline on one line without the legend and title. Default: false |
| Formatted start date \[formattedStartDate\] | Formatted string of the minimum date that can be displayed in the timeline. Case -- Usually the date/time the case was opened. CI -- Usually the date/time the CI was installed. Default: 2019-01-01 05:00:00 |
| Formatted end date \[formattedEndDate\] | Formatted string of the maximum date that can be displayed in the timeline. Case -- Usually the date/time the case was closed. CI -- Usually either the current time (if the CI is still operating) or the date/time the CI was uninstalled. Default: 2020-06-01 05:00:00 |
| Formatted display start date \[formattedDisplayStartDate\] | Formatted string of an optional start date that can be displayed on the timeline. For example, for a CI, activities only in the last two or four weeks might be the most useful information to display. You can set this property to display the most useful start date for a range. Default: 2019-06-17 09:00:00 |
| Formatted display end date \[formattedDisplayEndDate\] | Formatted string of an optional end date that can be displayed on the timeline. For example, for a CI, activities only in the last two or four weeks might be the most useful information to display. You can set this property to display the most useful start date for a range. Default: 2019-12-14 09:00:00 |
| Locale \[locale\] | Language code string, such as 'ja' or 'de'. Default: en |
| Event data \[eventData\] | The activities to display on the timeline. Case - Usually when the customer or agent adds comments. CI -- Usually the events or outages that have happened on a CI. Items in the array: * name * icon * iconHref * color * label * labelPlural * events {#timeline-config-properties__ul_smb_b45_c5b} |
| Range data \[rangeData\] | Array that defines the ranges to display on the timeline bar. For a case, this is usually the changes in the case state. Items in the array: * name * color * label * ranges {#timeline-config-properties__ul_yfz_j45_c5b} |
| Display popover \[displayPopover\] | Controls how to display details for a point on the timeline. Set to true to display a popover when the timeline is clicked. Set to false to display a tooltip when the user hovers on the timeline. When set to true the Display popover macroponent property appears, enabling you to enter the component you want to appear in the popover. Default: false |
| Display popover macroponent \[popoverMacroponent\] | Adds a macroponent that renders inside the popover. Select from macroponent definitions in the `sys_ux_macroponent` table. This property is available when the Display popover property is set to true. |
| Hide padding \[hidePadding\] | Hides the padding for the timeline component. Default: false |
| Menu bar position \[menuBarPosition\] | Determines the position of the menu bar. The menu bar has the zoom in and zoom out buttons. Choices are: * Top right * Bottom right * Bottom left {#timeline-config-properties__ul_kdq_3wh_y1c} Default: Top right |
| Enable markers \[enableMarkers\] | Displays markers in the component. Review the marker's configuration specified in the Markers configuration field when enabling markers. |
| Markers configuration \[markersConfig\] | The configuration of the markers in the component. Items in the array: * icon * color * markerType * markerTimestamps * datePickerConfiguration {#timeline-config-properties__ul_ugc_swh_y1c} |
| Show close button \[showCloseButton\] | Displays the close button. The position of this button is fixed (top right). Default: false |
[Table 1. Data and display]

{#timeline-config-properties__table_nnk_v4t_c5b}  
{#timeline-config-properties__table_n1g_dp5_c5b__entry__2}

| Label \[property\] | Description |
|-|-|
| Label \[label\] | Title to display at the top of the timeline. Default: Timeline |
| Label heading level \[labelHeadingLevel\] | Defines the HTML \<hx\> heading element used to render the label. Choices are 1-6: Default: 3 |
| Label style \[labelStyle\] | Header text style. Choices are: * header-primary * header-secondary * header-tertiary * title-primary * title-secondary * title-tertiary {#timeline-config-properties__ul_rtp_xp5_c5b} Default: title-tertiary |
[Table 2. Heading]

{#timeline-config-properties__table_n1g_dp5_c5b}  
{#timeline-config-properties__table_kzx_dq5_c5b__entry__2}

| Label \[property\] | Description |
|-|-|
| Hide pan and zoom \[hidePanZoom\] | Hides the pan and zoom buttons from the timeline display. Default: false |
| Min. zoom spread \[minZoomSpread\] | The minimum display range allowed for the zoom-in action. Choices are: * Y=Year * M=Month * D=Day * H=Hour * M=Minute * S=Second * MS=Millisecond {#timeline-config-properties__ul_dcj_mq5_c5b} Default: Day |
| Hide now button \[hideNow\] | Hides the NOW button in the timeline display. The NOW button resets the timeline to the default state that existed on page load. Default: true |
[Table 3. Zoom and navigation]

{#timeline-config-properties__table_kzx_dq5_c5b}  
{#timeline-config-properties__table_yql_fr5_c5b__entry__2}

| Label \[property\] | Description |
|-|-|
| Legend title \[legendTitle\] | Title in the legend used for events. Default: Legend |
| Legend event title \[legendEventTitle\] | Event title that displays in the legend drop-down list. Default: Timeline Indicators |
| Legend range title \[legendRangeTitle | Range title that displays in the legend drop-down list. Default: Timeline Ranges |
| Hide legend toggle \[hideToggle\]\[ | Hides the legend toggle in the timeline display. Default: false |
[Table 4. Legend]

{#timeline-config-properties__table_yql_fr5_c5b}  
{#timeline-config-properties__table_nvk_fs5_c5b__entry__2}

| Label \[property\] | Description |
|-|-|
| Show empty state \[isEmpty\] | Shows an empty state indication. Default: false |
| Show error state \[isError\] | Shows an error state indication. Default: false |
| Show loading state \[isLoading\] | Shows a loading state indication. Default: false |
[Table 5. Empty state]

{#timeline-config-properties__table_nvk_fs5_c5b}

## Timeline component events {#ariaid-title3}

Select event handlers to configure the action (event) provided with the Timeline component.
The Events tab shows the events used by the Timeline 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 {#timeline-config-events__section__evi_ltw_in3}

Event handlers work with data resources to link the Timeline 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.").

### Event descriptions {#timeline-config-events__section_dvv_r55_c5b}

{#timeline-config-events__table_tnj_yvv_24b__entry__2}

| Event | Description |
|-|-|
| Data selected | Triggers when the user selects an event, range, or marker on the timeline. Payload contains the following depending upon the type of data: * Event (`selectedEvents`): * `eventName` * `timestamp` * `description` * `data` {#timeline-config-events__ul_fbm_zmc_z1c} * Range (`selectedRanges`): * `rangeName` * `start` * `end` * `description` * `data` {#timeline-config-events__ul_hvg_1nc_z1c} * Marker: `timestamp` {#timeline-config-events__ul_i5p_pw5_c5b} |
| Popover link clicked | Triggers when the user selects a link in the popover. Payload contains `popoverLinkPayload` |
| Initialized | Triggers when timeline is initialized. Payload: * `startingTimestamp` * `endingTimestamp` {#timeline-config-events__ul_ztp_2w5_c5b} |
| Range changed | Triggers when the user changes the display range. Payload: * `startingTimestamp` * `endingTimestamp` {#timeline-config-events__ul_fnp_bw5_c5b} |
| Legend item updated | Triggers when an event or range item is toggled in the Show legend dropdown. Payload: * `dataType` * `data` {#timeline-config-events__ul_mlk_b2w_y1c} |
| Close button clicked | Triggers when the user selects the close button. There is no payload. |
| Marker added | Triggers when the user adds a marker in the timeline. Payload contains `timestamp`. |
| Marker cleared | Triggers when the user clears or removes a marker from the timeline. Payload contains `timestamp`. |
| Marker timestamp invalid | Triggers when marker timestamps are not valid. Payload contains `timestamp`. |
[ ]

{#timeline-config-events__table_tnj_yvv_24b}

