Apex Hardcoded Id Elimination

Remove hardcoded Salesforce record IDs (Profile, RecordType, User, Queue, custom) from Apex and replace with describe-API, name-based SOQL, or Custom Metadata-driven lookups. NOT for record type IDs in Flow, formulas or LWC — use admin/record-type-id-management. NOT for storing the config values themselves — use apex/custom-metadata-in-apex.

PranavNagrecha 7ab0647 7 files · 43.8 KB Updated 15 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/apex/apex-hardcoded-id-elimination commit 7ab0647e3b

Frequently asked questions

npx skillmds add pranavnagrecha/apex-hardcoded-id-elimination