Component Id Must Be Unique

< 1 min read

Impact Area

Scalability

Severity

High

Affected Element

Apex Page

Rule ID #

SF-0122

Impact #

Your code can break if you use non-unique component ids and your page hierarchy changes.

Remediation #

Make sure that you use ids which are unique at the whole page level.

Time to fix #

30 min

References #

See the Salesforce documentation article: Best Practices for Accessing Component IDs.

Updated on March 21, 2025
Was it helpful ?