As you likely know by now, FlexDeploy is an Enterprise DevOps platform with fully integrated support for Salesforce apps, metadata customizations, integrations and more. This is the second article in a blog series that will help you understand what makes FlexDeploy a perfect choice to implement DevOps, CI/CD, and release automation with Salesforce.

Some articles in this series are coming soon:

In this blog article, we will review how easy it is to find the changes from your development Org(s) and commit to your source control repository. We recommend using a source control management (SCM) tools such as Git, SVN, or TFS for storing Salesforce changes.

Configuring FlexDeploy to Use Salesforce

Follow these steps to complete a one-time configuration to use Salesforce in your enterprise. You can use Blueprints to complete this configuration using a quick and easy wizard.

Configuring Salesforce Org Accounts in FlexDeploy

Salesforce accounts need to be configured to connect to your Orgs. This can be done under the Cloud Integration in FlexDeploy’s Topology screen. You can connect using User Email and Password or User Email, OAuth Key, and Client Id combination.

In FlexDeploy's Topology tab, use Cloud Integration to configure your Salesforce accounts to connect to your Orgs.

Repeat the connection creation for your other environment Orgs.

Associate Salesforce Accounts to Environments

After configuring the Salesforce Org accounts, you need to associate them with the environment. To achieve this, go to Topology Overview and click the Environment Instance you would like to associate with the accounts.

In the Topology Overview, click the Environment Instance and associate your Salesforce accounts with the environment.

You can select one or many accounts per environment.

Project Configuration

Create a project in FlexDeploy as a Salesforce type and configure your SCM in the Project Configuration tab. Select SCM type and instance. In this example, we use Git. That is all you need to make your Salesforce development source driven. FlexDeploy’s seamless integration with SCMs will take care of adding, retrieving, committing, pushing, etc.

GIt as the SCM type and instance in the Project Configuration tab of FlexDeploy.

Review Salesforce Changes in FlexDeploy and Commit to SCM

FlexDeploy’s integration with Salesforce provides rich features to retrieve changes from a Salesforce Org. The Org can be your Sandbox, Scratch Org, Development or Production edition. This screen allows you to select the Salesforce Org and retrieves the changes. It also displays the status of the file compared with your SCM.

Select the Salesforce Org and retrieves the changes in the Salesforce Org Development tab of FlexDeploy.

  1. Select the Salesforce Org you would like to retrieve changes from and view.
  2. Click on the Pull from Salesforce.
  3. FlexDeploy will display all the list of files with the State, Type, Full file name, and User who worked on it.
    • You can select the file and view the content on the right panel.
    • You can select to view the Remote file, i.e. what is in Salesforce, file in your SCM, and the difference.

Use FlexDeploy to see differences source control Salesforce changes.

     4. Once the review is completed, you can select the files that you would like to commit to the SCM.

5. You can also choose to commit and create a package in FlexDeploy to build, and deploy that package to other Salesforce environments.

FlexDeploy’s extensive integrations with Salesforce, Source Control Systems (SCM) like GIT, Project Management tools like Jira, Service/Change Management tools like ServiceNow, and communication tools like Slack, MS Teams, and email will make retrieving changes from Salesforce, reviewing, and tracking in SCM easy for developers as well administrators.

Keep Reading

Read Part 3: Deploy Salesforce Apps and Metadata Objects

FlexDeploy for Salesforce Free Whitepaper

Rama Rimmalapudi

I have been working as a Integration Architect for the past 10 years, with over 17 years of experience in software Architecture, Design, Development, Performance Tuning and production support of Java/J2EE based applications. I have 8+ years of experience designing enterprise applications using Oracle Fusion Middleware, building custom applications using ADF and System Integrations using SOA Suite & MuleSoft. I have extensive knowledge with DevOps, Release Automation, Application Integrations, WebLogic and Coherence in high volume and highly available deployment configurations.

More posts by Rama Rimmalapudi

Leave a Reply

Your email address will not be published. Required fields are marked *