How to Find Salesforce Object ID prefixes (custom or standard)

General Development

In salesforce every custom and stranded object has specific id. first 3 digits of an Id is an identifier prefix for object and record.

  Steps for find Salesforce Object ID prefixes

    • First open developer console (Click Your Name . Click Developer Console).
    • Click Debug | Open Execute Anonymous Window or CTRL+E.
    • Enter Below code in Anonymous Window.

Change customObject__c name with your object API name (i.e Expenses__c OR Account)

Find Salesforce Object ID prefixes

  • Check open log checkbox and click on execute button.

Find Salesforce Object ID prefixes

  • Find 3 digit object Id in Debug log.

Bravo ! Like our facebook page for new post updates. 🙂

(Visited 1,916 times, 13 visits today)

Leave a Reply