Activity Forums Salesforce® Discussions What are the differences between 15 and 18 digit record ids in Salesforce ?

  • What are the differences between 15 and 18 digit record ids in Salesforce ?

    Posted by Ayush on February 14, 2020 at 1:50 pm

    What are the differences between 15 and 18 digit record ids?

     

    What are the differences between 15 and 18 digit record ids?

    What are the differences between 15 and 18 digit record ids in Salesforce ?

     

    Shweta replied 4 years, 9 months ago 4 Members · 3 Replies
  • 3 Replies
  • Marziya

    Member
    February 14, 2020 at 1:53 pm

    Hii Ayush,

    The 15 digit record ID is case sensitive. While the 18 digit ID is case insensitive. This means the capital-letter-A and small-letter-a hold different values in the case of a 15 digit ID.

  • Ratnesh

    Member
    February 14, 2020 at 2:11 pm

    Hii Ayush,

    1. 15 Digit Id is case-sensitive whereas 18 Digit Id is case-insensitive.
    2. API always makes use of 18 digit Id. and URL in Salesforce makes use of 15 digit Id.
  • Shweta

    Member
    February 14, 2020 at 2:15 pm

    Salesforce provides you with two versions of Record Ids and used in different situations

    • 15 character id: It is a case sensitive version that is referenced in the Salesforce user interface. You can use this id in while performing data operations through the user interface.
    • 18 character id: It is a case sensitive version that is referenced through the APIs. It is a Salesforce best practice to use 18 character id in API.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos