Declarative Development



Naming Conventions

Objects

  • Use singulars for object names
  • Capitalize the first letter of every word (e.g. Financial Account)

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__c instead of Account_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
Post a Comment (0)
Previous Post Next Post