Admins / Developers

Salesforce Object Key Prefix List

By Andreea Doroftei

Here are the commonly used Salesforce objects and their Object Key Prefix”

Object Key PrefixesSalesforce Object
001Account
002Note
003Contact
005User
006Opportunity
500Case
701Campaign
007Activity
00BListView/View
00DOrganization
00EUserRole
00GGroup
00IPartner
00OReport
00PAttachment
00QLead
00TTask
00UEvent
00XEmailTemplate
00YEmailTemp
00eProfile
00hLayout - Page Layout
00iPricebook
00jProduct
00kOpportunityLineItem
00lFolder
00vCampaignMember
01ZDashboard
01aDashboardComponent
01sPricebook2
01tProduct2
02cSharing Rule
03uUserPreference
800Contract
801Order
802OrderItem
806Approval

When to Use Salesforce Object Key Prefixes

In criteria for validation rules or automation

I find object prefixes extremely useful when it comes to user/queue criteria for objects such as Cases or Leads.

As the User and Queue (Group) are two different objects, it becomes really easy to have a Salesforce Flow execute, for example, when only when a Lead is owned by a user.

Navigate to an object tab

Shortcuts will be useful at times, to pull up an object’s tab directly from another record in Salesforce. Note that this works in Salesforce Classic, and in Lightning for Developer Edition and Trailhead Playgrounds only.

Here at Salesforce Ben, we use a custom object named “Content” with the prefix a00; instead of adding the Record Id in the URL to bring up one single record, adding the prefix brings up the object’s tab with the list views available. From there, you can then further filter down, saving you extra clicks.

The Author

Andreea Doroftei

Andreea is a Salesforce Technical Instructor at Salesforce Ben. She is an 18x certified Salesforce Professional with a passion for User Experience and Automation. 

Leave a Reply