Skip to content

Instantly share code, notes, and snippets.

@edwoodward
Last active May 31, 2022 21:15
Show Gist options
  • Save edwoodward/7ff141c4f8a4b4a774846ffb2c610e17 to your computer and use it in GitHub Desktop.
Save edwoodward/7ff141c4f8a4b4a774846ffb2c610e17 to your computer and use it in GitHub Desktop.
Salesforce Code Organization
**Setup salesforce-code repo**
This repo would be used for development. It contains:
- classes
- components
- email
- flowDefinitions
- flows
- objects
- pages
- reportTypes
- reports
- triggers
- workflows
At some point, we can add folders to organize the code inside the classes directory. SF says it is possible, but I'm not sure
what consequences we will encounter.
**Setup saleforce-settings repo**
This is to store custom settings. It would be updated periodically. Might not be needed if
SF does a good job of backing out of a change.
- authproviders
- connectedApps
- customMetadata
- dashboards
- dataSources
- layouts
- liveChatAgentConfig
- liveChatButtons
- managedTopics
- moderation
- namedCredentials
- networks
- pathAssistants
- profile
- roles
- settings
- sites
- tabs
**Do not store**
These are in the current salesforce repo, but I don't think they are needed. It is boilerplate SF settings.
- EmbeddedServiceBranding
- EmbeddedServiceConfig
- EmbeddedServiceLiveAgent
- LeadConvertSettings
- analyticSnapshots
- AnimationRules
- appMenus
- applications
- approvalProcess
- assignmentRules
- audience
- aura
- autoResponseRules
- certs
- channelLayouts
- cleanDataServices
- communities
- contentassets
- corsWhitelistorigins
- cspTrustedSites
- customHelpMenuSections
- customPermissions
- datacategorygroups
- documents
- duplicateRules
- emailservices
- entitlementProcesses
- escalationRules
- flexipages
- globalValueSets
- groups
- homePageLayouts
- installedPackages
- labels
- letterhead
- liveChatDeployments
- managedContentTypes
- matchingRules
- milestoneTypes
- navigationMenus
- networkBranding
- notificationTypeConfig
- notificationTypes
- objectTranslations
- permissionsetgroups
- permissionsets
- platformEventChannelMembers
- presenceUserConfigs
- profilePasswordPolicies
- profileSessionSettings
- queueRoutingConfigs
- queues
- quickActions
- remoteSiteSettings
- serviceChannels
- servicePresenceStatuses
- sharingRules
- sharingSets
- siteDotComSites
- skills
- standardValueSets
- staticresources
- testsuites
- topicsForObjects
- translations
- userCriteria
- wave
- weblinks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment