function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rupesh Karn 8Rupesh Karn 8 

lightning component Audit trail of a field

Hi,
I have a requirement to track audit trail of an object's status value (For ex. Status changed from A to B by 'Changed By' on 'Changed Date') in a lightning custom page. I am planning to achieve this by creating a parent component and placing 2 child components in the parent component. The first component has details of the object and another component has these audit trail messages. These both components show on the same page.
I am not sure how to code the second component and how to achieve this functionality. Please suggest. 
Khan AnasKhan Anas (Salesforce Developers) 
Hi Rupesh,

Greetings to you!

Please refer to the below blog which has a sample code which might help you further with the above requirement. Kindly try to implement according to your requirement.

https://www.sfdcstuff.com/2017/08/lightning-component-to-display-setup.html

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas