Salesforce provides us many standard components which we can directly use according to our requirements. Today, we are going to discuss one of the standard components which are Recent Records. You can only use it on Home Page but not available on the Record and App Page.
This component shows 5 records at a time and also there is no way to filter the records based on the criteria. So, We are going to make a custom Recent Records component in which you can show the records according to your criteria. Let's begin:
customRecentRecords.html
customRecentRecords.js
customRecentRecords.js-meta.xml
customRecentRecords.cls
Let's see the demo:
Comments