Is it safe to say that an ID for an object in Salesforce is guaranteed to be unique across all objects for an organization? I ask this since id's for objects are prefixed with the keyPrefix value designated on the metadata for the corresponding object type.

  • 2
    I think they are but the key prefix are case sensitive, there could be 2 objects with keyprefix 0a2, 0A2 and both are different
    – Rao
    Nov 13, 2014 at 23:19

1 Answer 1


Yes they are unique. You can always copy the 18 character ID and paste in URL after like this: http://instance.salesforce.com/{ID}. And you will go to record since they are globally unique.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.