You need to sign in to do that
Don't have an account?
keyPrefix variations
Salesforce states:
"Three-character prefix code in the object ID. Object IDs are prefixed with three-character codes that specify the type of the object. For example, Account objects have a prefix of 001 and Opportunity objects have a prefix of 006. Note that a key prefix can sometimes be shared by multiple objects so it does not always uniquely identify an object."
Can someone tell me what is meant by that last sentence? Are you just saying that multiple organizations could have different objects that share the same prefix or are you saying that within the same organization that multiple object types can have the same prefix?
There are a couple of objects within an org which share the same key prefix. One (sort of simplicatic) example would be Person Accounts and Accounts, which are technically sort of different objects, but there are other examples as well. They are fairly rare though. By and large, you can rely on the key prefix to identify an object within an org.
Outside the org it's a different story. Your a01 and my a01 could refer to two completely different custom objects.
All Answers
There are a couple of objects within an org which share the same key prefix. One (sort of simplicatic) example would be Person Accounts and Accounts, which are technically sort of different objects, but there are other examples as well. They are fairly rare though. By and large, you can rely on the key prefix to identify an object within an org.
Outside the org it's a different story. Your a01 and my a01 could refer to two completely different custom objects.
Simplistic, not simplicatic. I have no idea how that came out as "simplicatic."
Thanks Marco (at least I think).