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
CaitlinMCaitlinM 

Enable writable audit fields on custom objects

Is it possible to enable writable audit fields on custom objects? We have a case where we are running a formula field off of CreatedBy and often users don't import data using the correct user. Rather than deleting and reinserting to make the fix, since we have a lot of related records to fix as well, it would be faster if we could set the CreatedById. I've read that you can enable these fields for standard objects with a case to Salesforce, but has anyone successfully done this with custom objects? Thanks. 

SuperfellSuperfell

The option you mention for standard objects does work with custom objects, but it only works for insert, you cannot update existing rows, so it doesn't seem that will help you.

CaitlinMCaitlinM

OK, thanks for the response.