Force.com record IDs

In the Force.com platform, the Record ID is an important thing to understand before learning about data management operations. The Record ID is the unique identifier of a record. It is analogous to a primary or foreign key field in a database table. The record IDs can be obtained in the following ways:

  • URL of the record detail view
  • Running reports
  • Web services API
  • Formulas
  • Data loader (API Access)

The Force.com platform generates the record ID when a new record is created. There are two forms of a record ID:

  • 15-digit case-sensitive form: This form is used in the URL and report. The reports framework does not expose IDs for all objects.
  • 18-digit case-insensitive form: This form is used in Data Loader. When you migrate data from legacy ...

Get Learning Force.com Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.