Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

AX - Timeline

Overview

AX - Timeline is a Lightning App Builder component that displays your Salesforce records in chronological order on record, app, and home pages.

Use it to track any date-based activity—like case updates, opportunity history, project milestones, customer interactions, or task completion. Users can search and filter entries, click items to navigate to records, and see events organized by time periods. Pull data from any standard or custom object with date fields.

Perfect for activity feeds, audit trails, customer interaction history, project timelines, or anywhere users need to see "what happened when" in a visual, scrollable format.

Getting Started

Use this simple tutorial to learn the basics of the Timeline component and start building your use cases.

Key features

  • Data Integration: Pulls records from any Salesforce object using queries.

  • Chronological Display: Renders records in time order using a configurable date field, with a title, description, and extra field details per item.

  • Interactivity: Filtering, search, and clickable items that navigate to the related record.

  • Record Actions: Optional create, edit, delete, and duplicate record actions, plus a full-screen view.

  • Customization: Configurable header (title, caption, icon, record count) and optional pagination for large datasets.

Use Cases

Account & Contact Management

  • Visualize interaction history, including calls, emails, and meetings, on Account or Contact page.s

  • Track relationship development and touchpoint progression over time

  • Display communication timeline with prospects and customers

Case & Service Management

  • Show case activity timeline including updates, status changes, and internal comments

  • Track service request progression from creation to resolution

  • Display escalation history and resolution milestones

Sales & Opportunity Management

  • Track key sales milestones, notes, and related tasks across the deal lifecycle

  • Display opportunity progression with stage changes and important activities

  • Show competitive activities and strategic decisions over time


See it in a real project

Contact Life Events: A life events history on the Contact record.

Configuration

Add the Timeline to a Lightning record, app, or home page in App Builder and configure via the Properties Panel.

Properties

Label
Type
Default
Required
Description

Object API Name

String

—

Yes

API name of the Salesforce object used to retrieve records for the timeline. Examples: Event, Case, Opportunity, or custom objects like Custom_Object__c.

Filter

String

—

SOQL WHERE clause applied to restrict the displayed records. Example: Status = 'Open' or Type = 'Milestone'.

Order By

String

—

Comma-separated field API names used to sort records before rendering, each optionally followed by ASC or DESC and NULLS FIRST or NULLS LAST; ascending by default.

Maximum Number of Records

Integer

—

Sets the maximum number of records retrieved and displayed in the timeline to maintain performance and prevent excessive scrolling.

Title Field Name

String

—

Field API name used as the main title of each timeline item. Examples: Subject, Name, or Title__c.

Description Field Name

String

—

Field API name used as the descriptive text of each timeline item. Examples: Description, Summary__c, or Details__c.

Date Field Name

String

—

Field API name representing the date that determines an item's position in the timeline. Examples: ActivityDate, CloseDate, DueDate, or Custom_Date__c.

Field Names

String

—

Comma-separated list of field API names that display additional details for each item. Examples: OwnerId,StageName,Amount.

Clickable

Boolean

false

If true, cards become clickable links that redirect to the record's detail page. Useful for navigation-focused list displays.

Show Search

Boolean

false

If true, displays a search bar above the timeline, enabling keyword search across configured fields.

Filter Fields

String

—

Comma-separated list of field API names displayed in the filter panel for user-driven filtering. Examples: Status,OwnerId,Type.

Show Pagination

Boolean

false

If true, displays pagination controls at the bottom of the timeline for navigating through large datasets.

Number of Records per Page

Integer

10

When pagination is enabled, defines how many records are displayed per page.

Header - Title

String

—

Text displayed as the main title in the timeline's header. Example: “Account Activity Timeline” or “Project Updates.”

Header - Caption

String

—

Subheading displayed below the header title to provide additional context. Example: “Grouped by Month” or “Filtered by Event Type.”

Header - Icon Name

String

—

SLDS icon name (e.g., standard:event) displayed beside the header title. Example: standard:case for a case timeline.

Header - Show Number of Records

Boolean

false

If true, displays the total number of records associated with the timeline in the header.

Action - Full Screen

Boolean

false

If true, displays a button that allows users to expand the timeline to full screen, improving visibility for large datasets or detailed analysis.

Action - Enable Record Create

Boolean

false

If true, displays a button that allows users to create a new record in the timeline.

Action - Enable Record Edit

Boolean

false

If true, add an item action that allows users to edit a record in the timeline.

Action - Enable Record Delete

Boolean

false

If true, add an item action that allows users to delete a record in the timeline.

Action - Enable Record Duplicate

Boolean

false

If true, add an item action that allows users to duplicate a record in the timeline.

Display as Card

Boolean

true

If true, displays the component inside a styled card container for better visual presentation.


Use Case Examples

Example 1: Contact Life Events

Scenario: Track your contacts life events to drive customer knowledge and provide your users with a full 360 view.

Prerequisites

  • Create a custom object to track your contact life events Life_Event__c

  • Create 3 custom fields on the Life_Event__c object

    • Master-detail or lookup to Contact to link events to your contacts Contact__c

    • A Date field to track when the event happened Date__c

    • A Description field used to showcase details in your component Description__c

Steps

1
2

Place the AX - Timeline component in your main content area

3

Configure the data source:

  • Set Object API Name to Life_Event__c

  • Set Title field to Name

  • Set Filter to Contact__c = {{Record.Id}}

4

Configure event display:

  • Set Date Field Name to Date__c

  • Set Field Names to Description__c

5

Enable user interactions:

  • Check Clickable to allow users to navigate to records

6

Customize Header and display:

  • Set Header - Title to Life Events

  • Set Header - Caption to Key moments in the relationship

  • Set Header - Icon Name to standard:event

  • Check Display as Card for a modern look

7

Save & review

Example 2: Project Milestone Tracker

Scenario: Display project milestones and key events with team member filtering and completion tracking.

Prerequisites:

  • Create a Project__c custom object.

  • Create a second Project_Milestone__c custom object. This object stores the stages and deadlines of your project.

  • Create the following custom fields on the Project_Milestone__c object

    • A text field Milestone_Name__c for the milestone's display name

    • A picklist field Status__c with values New, In Progress, Done

    • A Lookup field to the Project object Project__c

    • A date field Target_Date__c

    • A Lookup field to User Assigned_To__c for the team member responsible

    • A percent field Completion_Percentage__c to track progress

Steps

1
2

Place the AX - Timeline component in your main content area

3

Configure the data source:

  • Set Object API Name to Project_Milestone__c

  • Set Filter to Project__c = {{Record.Id}}

4

Configure milestone display:

  • Set Title Field Name to Milestone_Name__c

  • Set Description Field Name to Status__c

  • Set Date Field Name to Target_Date__c

  • Set Field Names to Assigned_To__c,Status__c,Completion_Percentage__c

5

Enable project team interactions:

  • Check Clickable to allow users to navigate to records

6

Customize header:

  • Set Header - Title to Project Milestones

  • Set Header - Icon Name to standard:solution

  • Check Display as Card for a modern look

7

Save & review

Result: A project milestone timeline with completion tracking, team member filtering, and direct navigation to milestone details.

Example 3: Account Events Timeline

Scenario: Display events related to an account in chronological order with search and filtering capabilities.

1
2

Drag the Timeline component onto your page layout

3

Configure the data source

  • Set Object API Name to Event

  • Set Filter to WhatId = '{{Record.Id}}'

  • Set Order By to ActivityDate DESC

  • Set Maximum Number of Records to 100

4

Configure the timeline display

  • Set Title Field Name to Subject

  • Set Description Field Name to Description

  • Set Date Field Name to ActivityDate

  • Set Field Names to OwnerId,Type,Duration

5

Enable user interactions

  • Check Clickable for record navigation

  • Check Show Search for keyword search

  • Set Filter Fields to OwnerId,IsAllDayEvent

6

Configure pagination

  • Check Show Pagination for large datasets

  • Set Number of Records per Page to 20

7

Configure the header

  • Set Header - Title to Activity Timeline

  • Set Header - Caption to All activities for {{Record.Name}}

  • Set Header - Icon Name to standard:event

8

Check Display as Card for visual separation

9

Save and test with different account records

Result: A comprehensive activity timeline showing all events related to the account with search, filtering, and navigation capabilities.

Example 4: Case Resolution Timeline

Scenario: Track case updates and resolution progress with status-based filtering and milestone tracking.

1
2

Drag the AX - Timeline component onto your page layout

3

Configure the data source

  • Set Object API Name to Event

  • Set Filter to WhatId = '{{Record.Id}}'

  • Set Order By to ActivityDate DESC

  • Set Maximum Number of Records to 100

4

Configure the timeline display

  • Set Title Field Name to Subject

  • Set Description Field Name to Description

  • Set Date Field Name to ActivityDate

  • Set Field Names to OwnerId,Type,Duration

5

Enable user interactions

  • Check Clickable for record navigation

  • Check Show Search for keyword search

  • Set Filter Fields to Type,OwnerId,IsAllDayEvent

6

Configure pagination

  • Check Show Pagination for large datasets

  • Set Number of Records per Page to 20

7

Configure the header

  • Set Header - Title to Activity Timeline

  • Set Header - Caption to All activities for {{Record.Name}}

  • Set Header - Icon Name to standard:event

8

Check Display as Card for prominent display

9

Save and verify timeline shows case progression

Result: A detailed case history timeline showing all status changes, field updates, and modifications with search and filtering.


Key Considerations

  • Data Organization: Choose meaningful date, title, and description fields, and add context fields without cluttering the display.

  • Performance Optimization: Set item limits, use specific filters, and enable pagination for large datasets.

  • User Experience: Enable search and meaningful filter fields, and use clickable items when navigating to detail records adds value.

  • Visual Design: Use clear header titles, captions, and appropriate icons, and use card display when the timeline needs visual separation.


Troubleshooting Common Issues

  • Timeline Shows No Data: Verify the Object API Name, SOQL filter, and date field return valid results, and that users have object and field access.

  • Items Appear Out of Order: Confirm the Date Field Name is a valid date/datetime field and Order By uses the right sort direction (ASC/DESC).

  • Search Not Working: Enable Show Search and confirm searchable fields contain data that users have permission to view.

  • Pagination Issues: Set a reasonable Number of Records per Page and ensure the record count exceeds it without conflicting with the Maximum Number of Records.

  • Navigation Problems: Enable Clickable and verify users can view the existing target record pages.

Last updated

Was this helpful?