Activity Forums Salesforce® Discussions In what piece the salesforce Id composed of ?

  • Tanu

    Member
    August 30, 2016 at 3:17 pm

    Hello Mohit,

    Each character can be one of 62 possible values:

    1. a lowercase letter (a-z) - 26 values
    2. an uppercase letter (A-Z) - 26 values
    3. a numeric digit (0-9) - 10 values
  • Avnish Yadav

    Member
    September 30, 2018 at 3:34 am

    Hello,

    The first 3 digits are a prefix that specifies the type of sObject.

    I believe the rest of the Id is reference to the record itself. I should also add that the ID's are 15 digits long but can be 18 digits long with the last 3 digits for error correction making the the Id case-insensitive.

    So:

    3 Digits (Object) / 12 Digits (Record) / (Optional) 3 Digits (Error Correction)

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development

Video in

Nikita drops by to share his invaluable experience of using popular 3rd party frameworks in Salesforce. http://media.blubrry.com/salesforceway/audio.xmcdn.com/group42/M05/25/57/wKgJ81rXk6XjaZIAAU_I_KtprFM998.m4a