Best Practices

What the Best Salesforce Dev & Admin Teams Are Doing

A quick look at the best practices for Salesforce development that have emerged in the past 3 years and in the era of Salesforce DX.

In this article, we share our insights gleaned from managing over 350 million lines of Salesforce code, outlining the habits and strategies of the most effective Salesforce developer teams worldwide. We explore key practices like utilizing sandboxes, committing frequently to integration, conducting code reviews, backing up metadata, understanding Salesforce DX, and regularly refactoring and deleting code. Through our experience and the patterns we've observed, we aim to provide a roadmap to help Salesforce users improve their development processes and efficiency.

Here are our 5 Key Takeaways:

  1. Optimal use of Salesforce sandboxes: Allocate a separate sandbox for each developer and admin, and use Integration and UAT sandboxes to merge changes efficiently.
  2. Frequency of commits: Successful teams commit small units of changes frequently to the Integration sandbox, improving review efficiency and reducing conflicts.
  3. Importance of code reviews: Regular code reviews help avoid downtime and bugs, foster a better understanding of the codebase, and ensure deployment readiness.
  4. Back up Salesforce Metadata: Backing up metadata, preferably via source control, is a critical step in safeguarding against potential data loss or accidental changes.
  5. Understand Salesforce DX: Even if not actively using Salesforce DX, the top teams understand its functions and potential, preparing them for future adaptations.
Table of Contents
FREE TOOL
Profiles & Permissions Deployer

Easily compare and deploy Profiles, Permission Sets, and Field-Level Security (FLS) between any two Salesforce organizations.

Get Started
Made with love by the Blue Canvas team ❤️
Try bluecanvas now!

Start your 14-day trial!

Get Started
Made with love by the Blue Canvas team ❤️
Try Bluecanvas now!

Start your free 14-day trial

Get Started
Get Started with BlueCanvas
TABLE OF CONTENTS
RECOMmENDED ARTICLES
Force.com Migration Tool: Mastering Salesforce Deployments
Introducing Blue Canvas
Metadata Refreshes and Comparing Salesforce Orgs with Git
Introducing our All-New Profiles & Permission Sets Deployer for Salesforce!
Dynamic Forms: A game changer for Salesforce Page Layouts
You might also like our other posts...
Profiles and Permission Sets
Read more
NEW FEATURE
Harry Williams | May 03, 2019
Deploying Profiles and Permission Sets

Blue Canvas is excited to offer a free tool to the community for deploying Salesforce’s trickiest metadata type.

Flow Chart
Read more
DEV TIPS
Harry Williams | May 26, 2023
Unlock the Power of CPQ Twin Fields in Salesforce

Master CPQ Twin Fields in Salesforce through practical examples and unlock greater flexibility and efficiency in your data management process.

Provar Webinar
Read more
DEV TIPS
Harry Williams | April 02, 2019
Automated Testing for Salesforce with Provar

How you can leverage Blue Canvas CI to run automated tests in the cloud with Provar Testing.