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
Configuration
Add the Timeline to a Lightning record, app, or home page in App Builder and configure via the Properties Panel.
Properties
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__cCreate 3 custom fields on the
Life_Event__cobjectMaster-detail or lookup to Contact to link events to your contacts
Contact__cA Date field to track when the event happened
Date__cA Description field used to showcase details in your component
Description__c
Steps
Example 2: Project Milestone Tracker
Scenario: Display project milestones and key events with team member filtering and completion tracking.
Prerequisites:
Create a
Project__ccustom object.Create a second
Project_Milestone__ccustom object. This object stores the stages and deadlines of your project.Create the following custom fields on the
Project_Milestone__cobjectA text field
Milestone_Name__cfor the milestone's display nameA picklist field
Status__cwith valuesNew,In Progress,DoneA Lookup field to the Project object
Project__cA date field
Target_Date__cA Lookup field to User
Assigned_To__cfor the team member responsibleA percent field
Completion_Percentage__cto track progress
Steps
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.
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.
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?
