Use “Timeline” Lightning Component from AppExchange

Salesforce View Child Records in a Timeline

At times, in Salesforce, you may want to see the child records for a parent record in a timeline or chronological order. For example, if we talk about a particular Account, you may want to see the opportunities, cases, orders, contacts in a chronological order to understand the chain of events. Things like after coming in touch with a new contact for customer, the no. of opportunities increased or when a case was created, the no. of orders reduced.

Thanks to Labs from Salesforce, we now have a “Timeline” Lightning component on AppExchange (for FREE), that allows you to see related records of any object in a whole new way. You can have the entire history of an Account in front of you like when the Contacts were created, when the Opportunities & Cases are created or closed, etc.

The standard Activity Timeline component only supports Events, Tasks, and Emails. Whereas this component shows any standard or custom object record in a timeline format. This can be a great and cool addition to your existing Salesforce setup with minimal effort. It will provide useful insights to users and get to know their customers better.

The timeline component setup is fairly straightforward. First, you create a Timeline Configuration record that acts as a parent record. Then add child records to it so the timeline on the parent object will show all the child or related records in chronological order as per the date selected to sort in the configuration. You can also filter the related records if required e.g. show only Closed Won opportunities or Open Cases on Account. The timeline component supports External Objects too!

The records displayed in the timeline can be expanded and you can select which key fields to display in the record card. Have granular control on where to navigate the user when he or she clicks on the record in the timeline. Finally, customize the image icons for object records in the timeline.

The Timeline Lightning component on AppExchange seems to be useful and interesting. Hence, here is a short guide to get you started with the component that won’t take more than 15-20 minutes of your time. This guide will cover how to: 

  • Install Timeline Component from AppExchange
  • Assign Timeline User Permission Set to Users
  • Create a Timeline Configuration Record
  • Add Child Objects
  • Add Timeline Component to Lightning Record Page
  • Test Timeline Component

To download a PDF copy of the presentation above

check to receive weekly updates on more of such awesome guides

(You'll never be spammed on my watch. And that's a promise)

References & Useful URLs: