Activity Forums Salesforce® Discussions What is the difference between 15 Digit Id and 18 Digit Id in Salesforce?

  • What is the difference between 15 Digit Id and 18 Digit Id in Salesforce?

  • Prachi

    Member
    August 28, 2018 at 11:58 am

    What is the difference between 15 Digit Id and 18 Digit Id in Salesforce?

  • Anjali

    Member
    August 28, 2018 at 12:07 pm

    Hi Prachi,

    In Salesforce, whenever a user creates any component or record then Salesforce will generate a unique id with which user can identify the record or component.

    After creating the record, in the URL user can see the id of the record which is of 15 digits in length. Through user interface user always see 15 digit ids which are Case-Sensitive.

    If the user queries the existing records from the database through API, it will always return 18 digit ids which are Case-Insensitive.

    Last 3 digits of the 18 digit represent checksum of the capitalization of 15 digit id. Based on the first 3 digits user can identify the object of the record.

    All the record belongs to the same object will contain same first 3 digits.

Viewing 1 - 2 of 2 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos