Loading

Enable the Salesforce Permission 'Create Audit Fields' for Standard Profiles

Publiceringsdatum: Jul 17, 2026
Beskrivning

In Salesforce, Audit Fields are system fields (such as CreatedDate, CreatedById, LastModifiedDate, and LastModifiedById) that are typically set automatically by the system and cannot be edited by users. The "Create Audit Fields" feature, also known as "Set Audit Fields upon Record Creation," allows authorized users to manually set these field values when creating records — for example, during a data migration.
A Permission Set with the "Set Audit Fields upon Record Creation" permission is required to grant this capability to users assigned a standard profile, or for users in Professional Edition organizations (which do not allow editing of standard profiles).
Important Notes:

  • When enabling the Create Audit Fields feature, users must also be assigned the "Set Audit Fields upon Record Creation" and "Update Records with Inactive Owners" permissions.
  • Standard profiles in Salesforce cannot be edited directly. A Permission Set is the required mechanism to assign these permissions to users with standard profiles.
  • Professional Edition (PE) organizations do not have access to profile customization and must also use this Permission Set approach.
  • With these permissions, Lightning Experience and API users can set audit field values only upon record creation — future edits to those fields are not permitted.

For general background on Audit Fields, see Considerations and Activation of "Create Audit Fields" in Salesforce.

Lösning

Follow the steps below to create and assign a Permission Set that grants the "Set Audit Fields upon Record Creation" permission in Salesforce. These steps also apply to users on custom profiles and other Salesforce editions.


Before You Begin — Enable the Feature in User Interface Settings:
An Administrator must first enable the "Set Audit Fields upon Record Creation" and "Update Records with Inactive Owners" permissions at the org level:

  1. From Setup, enter User Interface in the Quick Find box, then select User Interface.
  2. Enable the "Set Audit Fields upon Record Creation" and "Update Records with Inactive Owners" settings.
  3. For full details, see Enable the 'Create Audit Fields' permission.

Step 1: Create a Permission Set

  1. Navigate to:
    1. Salesforce Classic: Setup | Manage Users | Permission Sets
    2. Lightning Experience: Gear icon | Setup | Users | Permission Sets
  2. Click New.
  3. Enter the Permission Set Label (e.g., "Audit Fields Permission") and a Description.
  4. Optionally, specify a User License to restrict this Permission Set to users with a specific license type.

Note: Applying a license to a Permission Set may prevent it from working through the Salesforce Data Loader.

  1. Click Save.
  2. On the Permission Set detail page, navigate to System Permissions.
  3. Click Edit.
  4. Find "Set Audit Fields upon Record Creation" and check the box to enable it.

Note: If this option is not visible, the feature has not yet been enabled at the org level. Complete the prerequisite step above first.

  1. Click Save.

Step 2: Assign the Permission Set to the User

  1. Navigate to:
    1. Salesforce Classic: Setup | Manage Users | Permission Sets
    2. Lightning Experience: Gear icon | Setup | Users | Permission Sets
  2. Select the Permission Set created for Audit Fields.
  3. Click Manage Assignments.
  4. Click Add Assignments.
  5. Select the User to whom you want to assign the Permission Set.
  6. Click Assign.
  7. Click Done.
Knowledge-artikelnummer

000386875

 
Laddar
Salesforce Help | Article