Loading

Enable the 'Create Audit Fields' Permission in Salesforce

Udgivelsesdato: Aug 29, 2025
Beskrivelse

Available in:  Essentials, Enterprise, Performance, Unlimited and Developer Editions

Important: While the "Create Audit Fields" feature is low-risk, we recommend reviewing as much documentation as possible prior to enabling it, starting with:
 

Set "audit" field values for imported records


System Administrators can enable the "Create Audit Fields" feature by granting the organization wide "Set Audit Fields upon Record Creation" and "Update Records with Inactive Owners" permissions.

Note: With these permissions, Lightning and API users can fill audit fields on record creation only through API tools.  Future edits cannot be made.

In Salesforce Classic, APEX code can't be used to update lead record owners to inactive users, even when users have the "Set Audit Fields upon Record Creation" and "Update Records with Inactive Owners" permissions assigned to them.

Løsning

Enable 'Create Audit Fields' 

1. From Setup, enter User Interface in the Quick Find box. Under User Interface, scroll down and select User Interface.

 

2. Scroll down to Setup. Select the checkbox for Enable "Set Audit Fields upon Record Creation" and "Update Records with Inactive Owners" User Permissions.

Screenshot 2024-06-17 at 1.11.13 PM.png

3. Click Save.

 

After enabling these organization wide permissions:

Grant the following profile permissions to your Users with Custom Profiles (see notes below for standard profiles):
 

  • Set Audit Fields upon Record Creation - Allow the User to set audit fields (like 'Created By' or 'Last Modified By') when you create a record via API tools and features like Data Loader or Flows.
  • Update Records with Inactive Owners - Allow the User to update the record owner and sharing-based records with inactive owners.

 

Notes:

 

Optional: Create and configure a permission set

  1. From Setup, follow the steps outlined in Create Permission Sets.
  2. While creating the permission set, grant either the "Set Audit Fields upon Record Creation" or "Update Records with Inactive Owners" permissions under "System Permissions."
  3. Click Save.
  4. Follow the steps in Assign a Permission Set to Multiple Users
Vidensartikelnummer

000386699

 
Indlæser
Salesforce Help | Article