You need to sign in to do that
Don't have an account?
MarceldeB
Determine which fields are history tracked
Hi,
To be able to create some specific functionality on history tracking, I need to find out which fields of an object have been indicated for history tracking.
In the documentation (DescribeFieldResult) I didn't find any method for this. But I hope anyone might have figured out a way to determine this...
Thanks, Marcel.
Hi,
If you have enabled the history tracking for a custom object SFDC automatically creates a new custom object with the same name and adds '__History' suffix.
Regards,
Sridhar Bonagiri
If this post is your solution, kindly mark this as the solution and give Kudos.
Thanks, Sridhar.
But what I need is to know which fields of this object are being tracked. You can select up to 20 fields of your object which are tracked and stored in the __History object.
But I want to find out within my Apex code which of the fields (eg. street, town, phonenumber) have been indicated for tracking.