Skip to main content
Hardcoded IDs in configuration

Detect any hardcoded record IDs inside configuration fields such as formulas.

Lorenzo Frattini avatar
Written by Lorenzo Frattini
Updated over a week ago

Rationale

Record IDs change between environments, so any logic using IDs that are hardcoded in the code  will fail when deployed to a different sandbox or Salesforce org. 

Scope

  • Formula fields

Did this answer your question?