Understanding the unique key prefixes associated with each object is critical when working with data in Salesforce. These key prefixes are essential for identifying and accessing the various objects in your Salesforce organization.
In this blog article, we’ll take a deeper look at the Salesforce Object Key Prefix List, what it is, and how it can be used to make working with your Salesforce data even more efficient and effective.
This list is an invaluable resource for understanding and navigating the many objects in your Salesforce organization, whether you’re a seasoned Salesforce pro or just getting started. So, let’s get started and see what the Salesforce Object Key Prefix List has to offer!
What is the prefix for the Salesforce Object Key?
A Salesforce Object Key Prefix is a three-character code that is used to identify and reference a particular object within a Salesforce organization.
These key prefixes are used to identify the specific object being accessed or manipulated in Salesforce’s API and URLs. Accounts, Contacts, Leads, Users, Campaigns, Cases, Solutions, Contracts, Products, Orders, Opportunities, Custom Objects, Notes, and Tasks all have their own key prefix in Salesforce.
These key prefixes can be used in programs to access and manipulate the data contained within those objects.
To access the Accounts object in a Salesforce organization, for example, use the key prefix “001” in the URL or API call. This tells the system that you want to access the Accounts object and its data.
The following is a list of Salesforce Object Key Prefixes.
| Object Key prefix | Object Type |
|---|---|
| 1 | Account |
| 00r | Account Share |
| 04m | Additional Directory Number |
| 01p | Apex Class |
| 07L | Apex Debug Log |
| 707 | Apex job |
| 01q | Apex Trigger |
| 806 | Approval |
| 04i | Approval Request |
| ka0,KA0 | Article |
| 02i | Asset |
| 00P | Attachment |
| 01m | Business Hours |
| 19 | Business process |
| 04v | Call Center |
| 701 | Campaign |
| 00v | Campaign Member |
| 01Y | Campaign Member Status |
| 08s | Campaign Share |
| 500 | Case |
| 00a | Case Comment |
| 01n | Case Share |
| 10 | Case Solution |
| 02o | Category Data |
| 02n | Category Node |
| 0F9 | Chatter Group |
| 0FB | Chatter Group Member |
| 09a | Community |
| 3 | Contact |
| 00K,02Z,03j,02a | Contact Role |
| 03s | Contact Share |
| 68,069 | Content |
| 800 | Contract |
| 00b | Custom Button or Link |
| 01N | Custom S-Control |
| 15 | Document |
| 05X | Document Entity Map |
| 91 | Email Service |
| 93 | Email Services Address |
| 18 | Email Status |
| 00X | Email Template |
| 0.00E+0 | Entity Subscription |
| 00U | Event |
| 20 | Event Attendee |
| 0D7 | Feed Comment |
| 0F7 | Feed Post |
| 0D6 | Feed Tracked Change |
| 22 | Fiscal Year Settings |
| 00l | Folder |
| 608 | Forecast Share |
| 00G | Group |
| 11 | Group Member |
| 0C0 | Holiday |
| 87 | Idea |
| 00a | Idea Comment |
| kA# | Knowledge Article |
| ka# | Knowledge Article Version |
| 00Q | Lead |
| 01o | Lead Share |
| 16 | Letterhead |
| 01H | Mail merge Template |
| 0D5 | News Feed |
| 2 | Note |
| 6 | Opportunity |
| 8 | Opportunity History |
| 00k | Opportunity Product |
| 00t | Opportunity Share |
| 00J | Opportunity Competitor |
| 00D | Organization |
| 0D2 | Org Wide Email Address |
| 00l | Partner |
| 26 | Period |
| 01s | Price book2 |
| 01u | Price book Entry |
| 04g | Process Instance |
| 04h | Process Instance Step |
| 01t | Product |
| 00e | Profile |
| 03g | Queue Sobject |
| 12 | Record Type |
| 00E | User Role |
| 08e | Scheduled Job |
| 0DM | Site |
| 501 | Solution |
| 81 | Static Resource |
| 00T | Task |
| 5 | User |
| 100 | User License |
| 03u | User Preference |
| 0D5 | User Profile Feed |
| 99 | Visual force component |
| 66 | Visual force Page |
| 83 | Vote |
In Salesforce, how can the Salesforce Object Key Prefix be used?
Salesforce Object Key Prefixes function as secret codes that open the doors to all of your organization’s Salesforce data. These three-character codes function as keys, allowing you to identify and access specific Salesforce objects.
Assume you’re a detective working on a case and need to gather information from various sources.
Similarly, you may need to collect data from various objects in Salesforce, such as Accounts, Contacts, Leads, and so on. Each object in Salesforce has its own key prefix, and by using these key prefixes, you can programmatically access and modify the information contained within those objects.
Assume you want to retrieve all Accounts-related information in your organization. Simply include the key prefix “001” in your URL or API call, and you’re done! You will have direct access to all Accounts data in your Salesforce instance.
These key prefixes can also be used to create custom URLs for objects, which is useful for creating custom links in emails.
In summary, Salesforce Object Key Prefixes are a powerful and compelling tool that will help you streamline your data management and make it easier to access the information you require when you need it.
To summarize
Any Salesforce user can benefit from the Salesforce Object Key Prefix List. Users can use this list to quickly detect objects and fields in Salesforce and create special objects. When working with Salesforce, familiarizing yourself with the list can save you a lot of time and effort.
Salesforce, when properly equipped, can be a powerful platform for handling data and developing custom applications. What exactly are you waiting for? Begin by looking through the Salesforce Object Key Prefix List.
Join the saasguru Slack community and interact with experienced Salesforce professionals if you need more clarification on this or anything else about Salesforce.
Simplisfdc.com Simply Learn Salesforce