Naming Conventions
Objects
Objects
- Use singulars for object names
- Capitalize the first letter of every word (e.g. Financial Account)
Fields
Fields
- Capitalize the first letter of the field label and API name (e.g. Account Balance/
AccountBalance__c) - Use a proper descriptive name. Do not use names that are not understandable, even for fields that are not displayed on the layout
- Example bad name: Market value1, Proper Name: Market Value Cash Equivalent
- Field API names should not include underscores (e.g.
AccountBalance__cinstead ofAccount_Balance__c)- Formula fields have a limit of 4000 bytes (or 5000 bytes when compiled) so we need to save space as much as possible
- It can also make it easier to reference field names in code
