Salesforce System Indexed fields

The platform maintains indexes on the following fields for most objects.

    • RecordTypeId
    • Division
    • CreatedDate
    • Systemmodstamp (LastModifiedDate)
    • Name
    • Email (for contacts and leads)
    • Foreign key relationships (lookups and master-detail)
    • The unique Salesforce record ID, which is the primary key for each object


Salesforce also supports custom indexes on custom fields, except for multi-select picklists, text areas (long), text areas (rich), non-deterministic formula fields, and encrypted text fields.


External IDs cause an index to be created on that field. The query optimizer then considers those fields.


You can create External IDs only on the following fields.
    • Auto Number
    • Email
    • Number
    • Text

To create custom indexes for other field types, including standard fields, contact Salesforce Customer Support.

Post a Comment

0 Comments