Skip to content

Salesforce Objects Key Prefix List

Salesforce Objects Key Prefix List.

Salesforce Objects have three character prefixes which form the first part of the Record ID. For example, a record with ID 500B000000A1nvPIAR has the prefix 500, which is the prefix for the Case Object.

1. How to get Salesforce Object Name from Record ID?

You can use below code to get Salesforce object name from record ID:

Id demoID = '500B000000A1nvPIAR'; 
System.debug('The Salesforce Object Name is: '+ demoID.getSobjectType());

2. How to get Salesforce Object Name from Record ID Prefix?

You can use below code to get Salesforce object name from record ID prefix:

String objectName = SchemaGlobalDescribe.findObjectNameFromRecordIdPrefix('001'); 
System.debug(objectName);

3. Salesforce Objects Key Prefix List

ObjectPrefix
JobTracker0JT
UserListViewCriterion0JU
PlatformAction0JV
SetupNode0JW
SetupCustomNode0JX
MacroAction0JY
RegisteredExternalService1uu
Macro0JZ
ReadOnlyOauthToken0Ja
ReadOnlyOauthTokenScope0Jb
ForecastingCategoryMapping0Jd
UserProvisioningConfig0Je
DomainSite0Jf
ForecastingTypeToCategory0Jg
MacroInstruction0Ji
CopySuspension0Jj
ReadOnlySecurityToken0Jk
ReadOnlyLoginIp0Jl
ReadOnlyLoginIpEmail0Jm
PlatformActionList0Jn
PlatformActionListItem0Jo
ReadOnlyClientBrowser0Jp
SCSInboundSettings0Jq
ThirdPartyAccountLink0Jr
SkinnyIndex0Js
SkinnyIndexColumn0Jt
RelationshipInfo0Ju
RelationshipDomain0Jv
StandardAction0Jy
TodayGoal0Jz
ActionKnowledgeSubmit0K0
ActionChatterPost0K2
ActionChatterPostRecipient0K3
SamplingStrategy0K4
SampledEntity0K6
StorageConfigAuditTrail0K7
QueueRoutingConfig0K9
UserConfigTransferSkill0KA
UserConfigTransferButton0KB
TabDefinition0KD
SqlIdToRequestMap0KG
InstalledSubscriberPackageVersion0KM
SecurityHealthCheckRisks0KO
PresenceConfigDeclineReason0KP
PresenceDeclineReason0KR
StandardValueSet0KY
ReportInstanceQuery0KZ
SurveyEmailBranding0Ka
SyncTransactionLog0Kb
SurveyQuestionChoice0Kc
Survey0Kd
SurveyPage0Ke
TwoFactorMethodsInfo0Kg
FormulaFunctionCategory0Kh
SurveyInvitation0Ki
CustomAppMetrics0Km
FormulaFunction0Kn
GlobalVariable0Ko
TwoFactorMethodsInfoLocal0Kp
LoginFlow0Kq
SurveyQuestionResponse0Kr
SurveyVersion0Ks
AssociatedLocation0Kt
SurveyQuestion0Ku
ResourcePreference0Kz
TenantPlatformLicense0L2
TenantUserLicense0L3
TenantEditionLicense0L4
TenantAddOnLicense0L5
TenantLicensingRequest0LC
RecalcCampaignStats0LD
SamlSsoConfig0LE
ReportInstance0LG
SocialKeyJobLog0LH
SocialKeyEntityErrorLog0LI
ModerationRule0LJ
KeywordList0LM
StorageSizeJob0LN
SetupAssistantAnswer0LO
UserCriteria0LV
LicensedCustomPermission0Lc
LicenseDefinition0Ld
ExternalServiceRegistration0Le
UserFeedChannel0Lf
UserSetupAppInfo0Lg
AssetTokenEvent0Li
AnalyticActionConfiguration0Lj
NavigationLinkSet0Lm
AutoActivityCaptureMetrics0Lo
EmbeddedServiceDetail0Lq
AvroSchema0Ls
ProductTransfer0Lu
BrandingSet0Lw
AIModel0Lx
BrandingSetProperty0Ly
FlexiPage0M0
SocialUserAuth0M1
FlexiPageRegion0M2
SocialKeyParentRecord0M3
SocialKeyPersonaRecord0M4
Territory2Type0M5
StreamingChannel0M6
SandboxObserver0M9
Territory2Model0MA
SearchPromotionRule0MD
SessionLevelPolicy0ME
SynonymDictionary0MF
TransitionMessage0MH
Territory20MI
SystemStreamingChannel0MJ
XCleanMatchRateMetrics0MK
LayoutSectionState0MN
AppNotifTypeOrgSetting0MO
UserCustomBadge0MQ
MetricsDataFile0MR
ContentOrgMetrics0MT
UserFavorite0MV
BuffaloOrgEstimate0MW
ChatterExtension0MY
SourceMember0MZ
SandboxObserver20Ma
ChatterExtensionInstance0Mb
FieldServiceMobileSettings0Mf
AppExtension0Mg
NavigationMenuItem0Mi
MessagingChannel0Mj
WindowsPushApplicationSetup0Mk
FeedEntityRead0Mp
FeedRead0Ms
BuffaloMigrationEvent0Mt
BuffaloMigrationManagement0Mu
MessagingSession0Mw
SurveyResponse0My
DomainProvision0Mz
UserMembershipSharingRule0N0
UserCriteriaSharingRule0N1
UserShare0N2
UserSharingRuleFilterItem0N3
RuleTerritory2Association0N4
ServicePresenceStatus0N5
ServiceChannel0N9
SecureAgent0NB
ServiceChannelStatus0NC
SecureAgentPlugin0ND
SecureAgentPluginProperty0NE
TransactionSecurityPolicy0NI
S2XAdminError0NK
StandardReportType0NL
SearchQuerySuggestion0NM
PostArchivalDeletionRequest0NN
ReputationLevel0NU
ReputationPointsRule0NV
SOSDeployment0NW
SOSSession – SOS video calls0NX
SOSSessionActivity0NZ
UserListView0Na
PresenceUserConfig0Nd
PresenceUserConfigUser0Ne
PresenceUserConfigProfile0Nf
CleanInfo0Ng
CleanActivityLog0Nh
UserProvAccount0Ni
CleanEntityError0Nj
LiveChatBlockingRule0No
XCleanBulkJob0Np
SharedPicklistDefinition0Nt
EntityParticle0Nv
UserAppMenuCustomization0Nw
XinstanceInfo0O0
TwoFactorU2F0O1
FieldMappingField0O6
FieldMappingRow0O7
FieldMapping0O8
Shipment0OB
TransactionSecurityCondition0OC
InteractionCountReport0OD
SubscriberTabSetMember0OE
FlexipageComponentMetrics / BulkDedupeJob0OF
BaseEventInterface / DuplicateRuleJob0OG
OperatingHours0OH
MatchingRuleJob0OI
OrgLifecycleNotification0OL
ProcessInstanceNode0OO
VisualforceAccessMetrics0OP
NetworkAffinity0OV
WaveCompatibilityCheckItem0OZ
ComponentResponseCache0Oa
ChatterExtensionConfig0Ob
DashboardComponentColumn0Oe
DashboardComponentResult0Of
CaseSubjectParticle0Oi
ScorecardMetric0Om
PendingChangeContainer0Oq
DatasetExportEvent0Or
FlowVariableAssignment0P0
Certificate0P1
CertificateIp0P2
CalendarSharing0P9
MessagingEndUser0PA
DuplicateJob0PB
DuplicateJobMatchingRule0PC
CustomPermissionDependency0PD
ParallelJobItemData0PF
Individual0PK
PermissionSetLicense0PL
DuplicateJobDefinition0PO
DuplicateJobMatchingRuleDefinition0PP
ProcessTimeQueue0PQ
PermissionSet – Permission set metadata0PS
PushUpgradeExcludedOrg0PX
MetadataContainerMember0PZ
PermissionSetAssignment0Pa
ChannelProgram0Pk
ChannelProgramLevel0Pl
ChannelProgramMember0Pm
EinsteinApplication0Pp
PredictionConfig0Pq
PredictionField0Pr
PushBackDefinition0Ps
PackageVersionInstallRequestError0Pt
PackageVersionUninstallRequestError0Pu
BigObjectsRecordMetrics0Pv
DatasetExport0Px
DatasetExportPart0Py
EventTypeDefinition0Pz
Quote Doc0Q0
OutgoingEmail0Q1
OutgoingEmailRelation0Q3
UserMetrics0Q5
DirectMessageMemberActivity0Q7
FeedSignal0QJ
PinnedEntity0QK
EinsteinAppAnalytics0QM
FTestGenInterface0QO
FTestGenBodyInterface0QP
MetadataContainerMemberWithSymbolTable0QT
ShareInterface0QU
MultiCurrency0QV
MetadataContainerMemberWithBody0QY
Auditable0QZ
EntityEventInterface0Qb
ActionQuickCreate0Qc
DataExportEventInterface0Qd
TransactionSecurityEventInterface0Qg
SoftDeletable0Qi
RecordUserAccessInterface0Qj
UserNavItem0Qk
ScorecardAssociation0Qn
ExternalCredential0Qo
SandOmBulkExport0Qp
VerificationHistory0Qt
SecureAgentsCluster0Qy
Nameable0Qz
QuoteDocument0QD
QuoteLineItem0QL
QuoteTemplateRichTextData0QR
UserTerritory2Association0R0
UserServicePresence0R1
UiPlugin0R2
PartnerFundAllocation0R8
ActivityRelation0RA
PartnerFundClaim0RB
CollaborationGroupRank0RC
RecommendationDefinition0RD
EventRelation0RE
SandOmExportedBlob0RH
PartnerFundRequest0RJ
FlowCategory0RL
BigObjectCounter0RM
TaskRelation0RT
LightningBolt0RX
CustomSettingNameIndex0RY
PlinyPhysicalDeleteJob0RZ
LightningComponentBundle0Rb
LightningComponentResource0Rd
LinkedInLeadGenToken0Rf
InteractionLCMetrics0Rg
TopicDataCategoryRule0Rh
LinkedInLeadGenConfig0Ri
FlowCategoryItem0Rl
LinkedInLeadGenAdAccount0Rp
LightningBoltItem0Rr
FolderClosure0Rt
LightningBoltImage0Ru
LightningBoltFeature0Rv
PersonalizedUnswdQuestion0Rx
LightningExperienceTheme0S1
S2XPushSubscription0S2
ProfileSkillEndorsement0SE
ServiceReportLayout0SL
ProfileSkillUser0SM
AuthProvider0SO
SocialPersona0SP
SignupRequest0SR
SocialPost0ST
AqtIncidentDetection0SU
ReportInstanceCsvResult0SV
MetadataContainerMemberWithBinaryBody0Sa
ProfileSkill0Sk
ReturnOrderLineItem0Sn
ActionOverrideMetrics0Sy
SetupFlowProgress0T0
IndividualShare0T5
EmailDomainFilter0T6
ProdDbHammerRequest0TH
TopicIndex0TI
EventTypeFieldDefinition0TJ
Topic0TO
WaveAssetEvent0TN
CloudConfiguration0TR
ProductRequest0TS
Trialforce Template0TT
TopicOntology0TY
MetadataComponentDependency0Tj
ValidationRuleInfo0Ts
TopicTerm0Tt
BaseSessionInterface0Tv
ProductRequestLineItem0Tw
LightningUsageByPageMetrics0U5
SsoUserMapping0UM
BotSessionsMetrics0US
TenantUsageEntitlement0UT
LbpmMetrics0Ua
WorkThanks0W0
WorkBadgeDefinition0W1
WorkBadge0W2
WorkReward0W3
WorkRewardFund0W4
WorkAccess0W5
WorkPerformanceCycle0W7
WorkFeedbackQuestionSet0W8
WorkFeedbackQuestion0WA
WorkFeedback0WB
WorkFeedbackRequest0WC
WorkCoaching0WD
WorkGoal0WE
WorkGoalCollaborator0WF
WorkGoalLink0WG
WorkRewardFundType0WH
Goal0WI
Metric0WJ
GoalLink0WK
WorkFeedbackTemplate0WL
MetricDataLink0WM
WorkOrder0WO
NamedCredential0XA
ListEmail0XB
WorkSkillRoutingAttribute0Xb
ExternalDataSource – Data Source for External Objects0XC
ListEmailRecipientSource0XD
ListEmailSentResult0XE
CustomHttpHeader0XH
SalesforceIqUser0XR
ExternalDataUserAuth0XU
SourceChangeNotification0Xv
LoginHistory0Ya
SetupAuditTrail0Ym
RateLimitIntBuckets0Yq
ParallelJobStatus0Ys
IdpEventLog0Yu
UserLogin0Yw
FileInspectionResult0ZA
SendEmailActionDefinition0ZQ
ForecastingDisplayedFamily0Zx
FlexipagePageTypeMetrics0a2
AuraDefinitionChange0aD
AuraDefinitionBundleInfo0ab
AuraDefinitionInfo0ad
AudienceMembership0am
CustomIndexDefinition0c0
CustomIndexFieldDefinition0c1
ChatterActivity0ca
OauthConsumerScope0cs
OrgDeleteRequest0dr
ProfileClientSettings0e1
EntityBlacklist0eb
Endorsement0en
CommChannelLayout0eo
CommChannelLayoutItem0ep
CommChannelLayoutMapping0eq
FeedRecommendationInfo0fr
CaseArticle0gv
HashtagCount0hc
HashtagDefinition0hd
Hashtag0ht
KnowledgeableUser0in
UserListPreference0ka
ManagedTopicLocation0mt
ProcessNodeSecurity0ns
RemoteProxy – Remote Site Setting to allow access to an external URL.0rp
ChatterAnswersReputationLevel0rs
ChatterAnswersActivity0sa
ServiceProvider0sp
ScheduledRecommendation0sr
TagDefinition0t0
TopicRecordSetting0tR
TopicSuggestionSetting0tS
TopicComputeStatus0ta
TopicUserEvent0te
TopicGroupActivity0tg
TopicNameChange0tn
TrendingTopic0tr
ProcessTransitionSecurity0ts
TopicUserActivity0tu
UserPermissionAccess0up
UserRecSummary0ur
UserLicense100
ExternalString – Custom Label101
FeatureLicense102
TaskRecurrenceException10y
EventRecurrenceException10z
ObjectPermissions Doc110
EventComments111
ProposedEventTime112
ProposedEventResponse113
DBCThumbnail11a
Address130
Location131
OpportunitySplitType149
EmbeddedServiceBranding19i
CleanAccountBackup1AB
AssetRelationship1AR
AccountCleanInfo1CA
CleanContactBackup1CB
ContactCleanInfo1CC
PathAssistantStepInfo1CF
LeadCleanInfo1CL
PathAssistant1CP
PathAssistantStepItem1CS
DigitalSignature1DS
EncryptionStatistics1ED
DataDotComFieldSetting1EF
EncryptableDataProblem1EP
DataDotComEntitySetting1ES
EventType / CustomEvent1EV
EventTypeParameter1Ep
CleanFieldSettingOld1FS
CleanJobSetting1JS
FieldHistoryArchive1HA
LoginEvent1HB
PlatformEventMetric1HC
ComparisonSummary1L7
ComparisonResult1L8
CleanLeadBackup1LB
MaintenanceAsset1MA
MetaMindConnection1MC
MaintenancePlan1MP
PersonAccountMetrics1Mc
NamespaceRegistry1NR
CaseExternalDocument1OZ
MenuItem1S1
StampAssignment1SA
ServiceReport1SR
Stamp1ST
ServiceTerritoryLocation1Sl
LinkedArticle1WK
WorkOrderLineItem1WL
BranchMerge1bm
Branch1br
ChangeListBranch1cb
Integration1ci
ChangeList1cl
ServiceCrewMember1cm
ServiceCrew1cr
MetadataContainer – from the Tooling AP1dc
IDEWorkspace1de
ApexExecutionOverlayAction1do
IDEPerspective1dp
ContainerAsyncRequest – from the Tooling API1dr
GitHubRepositoryLink1gh
GitHubPushOperation1gp
MetadataRevisionTemplate1mr
LightningToggleMetrics1o1
PartitionLevelMember1pm
PartitionLevelScheme1ps
Repository1rp
ResetAsyncRequest1rr
StagingArea1sa
TimeSheetEntry1te
TimeSheet1ts
VersionedContentEntity1vc
ChunkableTask200
ChunkableEntityTally201
ChunkableEntityChunk202
ChunkableEntityTally2203
SfdcPartner204
ChunkableEntityChunk2205
SFDC_DIVISION208
EmailRelay26Z
ActiveScratchOrg2AS
ChunkableTask22CE
EncryptionStatisticsChunk2ED
EncryptableDataProblemChunk2EP
CleanFactEntityClaim2FE
CleanFactFieldClaim2FF
PermissionSetLicenseAssign2LA
PersonalizationResource2hf
ScratchOrgInfo2SR
ReturnOrder2oN
FlowDefinition – InteractionDefinition – Visual Workflow or Flow300
InteractionDefinitionVersion301
InteractionScreenFieldParam307
InteractionCondition308
InteractionOperand309
InteractionAllocator30A
InteractionChoice30C
InteractionDecision30D
InteractionForm30F
InteractionConnector30L
InteractionQuestion30Q
InteractionReference30R
InteractionStatement30S
InteractionVariable30V
InteractionWait30W
ProcessPlugin30X
InteractionAllocation30a
InteractionConstant30c
InteractionDataColumn30d
InteractionWaitEvent30e
InteractionFormula30f
InteractionLayoutGroup30g
InteractionApexCall30m
InteractionWaitEventParam30p
InteractionResource30r
InteractionTodo30t
InteractionValueList30v
InteractionLayoutDetail310
Subinteraction31A
SubinteractionVariableAssignment31C
InteractionSwitch31S
InteractionFieldValue31V
InteractionChoiceLookup31c
InteractionDataSource31d
InteractionDataInput31i
InteractionDataOutput31o
InteractionValueListEntry31v
InteractionFieldMetaData31w
InteractionStage31x
FlowStageRelation31y
FlowRecordRelation31z
EventDeliveryData3DP
EventDelivery3DS
EventSubscriptionHandleData3HP
EventDelivery3Db
EventDeliveryParam3Dp
ProfileIpRestrictionMetrics3J5
DataDotComCleanMetrics3M0
OrgObjectsMetrics3M1
OrgStandardObjectsMetrics3M2
ChatterMetrics3M3
ChatterOrgWideMetrics3M4
NetworkCustomerLoginMetrics3M5
NetworkPartnerLoginMetrics3M6
PermissionSetMetricsByOrg3MA
DataDotComSocialMetrics3MB
OpportunityMetrics3MC
ContentMetrics3MD
CustomObjectUsageMetrics3ME
SharingRowCauseMetrics3MF
SharingMetrics3MG
IdeaMetrics3MH
UserDimMetrics3MI
PermissionSetLicenseMetrics3MJ
OpptyAndPricingMetrics3MK
ChatterGroupConMetrics3MM
ChatterUserNetworkMetrics3MN
QuickActionMetrics3MO
VisualforceMetrics3MQ
EventLogFileMetrics3MR
DataDotComListPoolMetrics3MS
ProcessMetrics3MT
DeclarativePlatformMetrics3MU
SharingUserMetrics3MV
PlatformOrgObjectMetrics3MW
InteractionLanguageMetrics3Ml
InteractionTranslMetrics3Mt
ExtIdentityLoginMetrics3N1
CustomObjectUserLicenseMetrics3NA
DialerMinutesMetrics3NC
OpportunitySplitMetrics3NO
SandboxOrgDimensionMetrics3NS
SandboxDimensionMetrics3NT
DataDotComCleanPrefMetrics3NU
TwoFactorMetrics3NV
NetworkPowerCustomerLoginMetrics3NW
LightningComponentMetrics3NX
ChatterUniqueContributorDailyMetrics3NY
ChatterActivityDailyMetrics3NZ
EventParameterData3PP
EventParameter3PS
ProcessPluginParameter3PX
EventPublication3Pb
EventPublicationHandle3Ph
EventPublicationParam3Pp
EventSubscriptionData3SP
EventSubscription3SS
LightningUsageByBrowserMetrics3mK
ApexClassMember400
ApexTriggerMember401
ApexPageMember402
ApexComponentMember403
WorkflowRuleMember404
ValidationRuleMember405
WorkflowFieldUpdateMember406
WorkflowTaskMember407
WorkflowAlertMember408
WorkflowOutboundMessageMember410
CustomFieldMember412
ContentLogMetricsByFileType413
PendingChange4A0
ApexClassVersion4F0
ApexTriggerVersion4F1
ApexPageVersion4F2
ApexComponentVersion4F3
CustomFieldVersion4F4
EntityDefinitionVersion4F5
NetworkCustomerDailyLoginMetrics4M5
NetworkPartnerDailyLoginMetrics4M6
CooperSettingsMetrics4NA
SupportOrgWideMetrics4NB
LightningServiceMetrics4NC
UtilityBarMetrics4ND
NetworkPCustDailyLoginMetrics4NW
Package2UpgradeExport4Wz
CompactLayoutItemInfo4ci
CompactLayoutInfo4cl
SearchLayout4co
DataType4dt
FieldDefinition4fe
UserFieldAccess4fp
ServiceFieldDataType4ft
EntityDefinition4ie
Publisher4pb
PicklistValueInfo4pv
Service4sr
ServiceDataType4st
ServiceVersion4sv
ApexPageInfo4ve
WebServiceDefinition4ws
WsdlDataType4wt
XmlSchema4xs
Case500
Solution501
Entitlement550
EntitlementTemplate551
SlaProcess552
CaseMilestone555
MilestoneType557
LiveChatTranscript570
LiveChatVisitor571
LiveChatDeployment572
LiveChatButton573
QuickText574
ChatSession5CS
SessionPermSetActivation5Pa
SegmentSpace5Sp
BILLING_DIVISION600
BILLING_ORDER601
CURRENCY602
PLAN604
PRODUCT605
BILLING_ORDER_ITEM606
PLAN_PRODUCT607
ForecastShare608
LightningUsageByAppTypeMetrics62C
AssociationQueueItem6AA
EventAssociationItem6AB
MailAssociationItem6AC
TaskAssociationItem6AD
SegmentSpaceChunk6SS
PartitionStatus6pS
MetadataChangeTemplate700
Campaign701
AsyncApexJob Doc707
BatchApexRelationship708
ApexTestQueueItem Doc709
AssetShare70a
AssetOwnerSharingRule70b
AssetCriteriaSharingRule70c
AssetSharingRuleFilterItem70d
LoginIp710
ApiLoginKey711
LoginIpEmail712
ClientBrowser713
ApexCodeCoverage714
ApexCodeCoverageAggregate715
ApexOrgWideCoverage716
Photo729
FieldHistory737
AsyncApiJob – Bulk Query Job750
AsyncApiBatch – Bulk Query Batch751
AsyncApiQueryResult – Bulk Query Result752
TempStore753
AsyncApiJobOptions754
LinkedInLeadGen7Eh
UiStyleDefinition766
UiStyle777
LeadConvertMapping7Eq
LightningComponentTag7Er
DebugLevel7dl
LightningUsageByFlexiPageMetrics7pV
TraceFlag7tf
S2XGoogleServiceAccount7tg
Contract800
Order801
OrderItem802
INVOICE803
INVOICE_ITEM804
PAYMENT805
Approval806
URI_BLOCK_RULE807
OrganizationValue80D
ServiceContract810
ContractLineItem811
S2XTransaction817
S2XRecordMap820
S2XUserMap822
S2XServiceAccount823
S2XTransactionLock824
S2XEventRecordMap825
ActivityRecurrence828
ActivityExtension829
ActivityRecurrenceException82B
OauthConsumer – Remote Access888
OauthConsumerAsset889
Question906
Reply907
QuestionSubscription910
QuestionReportAbuse911
ReplyReportAbuse912
PackageBooleanValue9BV
PackageDateValue9DV
PackageIntegerValue9NV
LicenseManagementOrgCertificate9yZ
Custom Objects. Starts incrementing from a00a00
Platform Events. Starts incrementing from e00e00
Custom Metadata. Starts incrementing from m00m00
BigObjects. Starts incrementing from z00z00
KnowledgeArticleVersion*ka0-kzz
KnowledgeArticle*kA0-kZz
Found in the PermissionSet Name column where the ProfileId is also defined. It matches the ProfileId with the exception of the key prefix.X00
Custom Field Id using in the query string. Note the keyprefix isn’t actually CF0. In this case “CF” has been appended to the “00N” of the Custom Field Definition.CF00N
Salesforce Objects Key Prefix List

4. Additional Information

Written By…


Recommend Articles

Share this article...

Please Leave a Comment

error: Content is protected !!

Discover more from DYDC

Subscribe now to keep reading and get access to the full archive.

Continue reading