Loading

Understanding Changes to External Object ID (x00) Format and Recommended Best Practices

Udgivelsesdato: Dec 12, 2025
Beskrivelse

Customers may notice that the Salesforce IDs assigned to External Object records have recently changed format. This update is a result of the "Access Data Without Limits with Salesforce Connect" enhancement.

Due to this change, any custom Apex logic, SOQL queries, or integrations that depend on hardcoded or previously stored Salesforce External Object IDs (18-character IDs beginning with "x00") may stop working.

Record IDs can change after an org migration, an instance refresh, or because of internal architectural changes.

Previous Format: <keyPrefix> + <ServerId> + 10 digits
Example: x00Ny000012345678S

This format included server-specific identifiers.

New Format: <keyPrefix> + xx + 10 digits
Example: x00xx123445678908G
The "xx" prefix indicates IDs that are no longer tied to a specific server instance.

Løsning

1.Avoid storing the Salesforce-generated External Object ID (x00...) in custom fields, as these values are not stable and may change.
2.Update your implementation to store the External ID from the source system (the primary key of the external data) instead of relying on the Salesforce-assigned ID.

Vidensartikelnummer

005232955

 
Indlæser
Salesforce Help | Article