Salesforce DX and Developer Projects

April 5, 2025

Share:

 

Introduction

Salesforce Administrators are tasked with a wide range of responsibilities when managing complex Salesforce environments, including development, version control, collaborative workflows, environment management, and metadata organization. Metazoa Snapshot, an org management tool for Salesforce Administrators, helps streamline these tasks by providing a powerful interface for metadata deployment, reporting, and version control.

One of the most versatile features in Metazoa Snapshot is the ability to work with Developer Projects. Much like a Metadata Snapshot, a Developer Project can store and manage metadata assets, but instead of being linked directly to a live Salesforce org, a Developer Project is associated with a local folder. This local folder can be organized in multiple file formats—Metadata API, Force.com IDE, or Salesforce DX—and can also integrate with content repositories such as Git-based systems. This white paper provides a detailed overview of Developer Projects, outlines how Salesforce DX integrates into this workflow, and reveals how both administrators and developers can use these capabilities to enhance org management.

Table of Contents

  1. Introduction to Developer Projects
  2. What Is Salesforce DX?
  3. Creating Developer Projects in Metazoa Snapshot
  4. Editing Developer Projects
  5. Available File Formats
  6. Connecting to Remote Repositories
  7. Taking Snapshots of Developer Projects
  8. Metadata Deployments
  9. Use Cases for Developer Projects
  10. Conclusion

1. Introduction to Developer Projects

Developer Projects in Metazoa Snapshot offer an alternative to live Metadata Snapshots. When you take a Metadata Snapshot, information is retrieved from a Salesforce environment in real time. In contrast, a Developer Project reads from and writes to a local folder. This means you maintain simple file-based access to your metadata.

Because these projects point to a file system location instead of an org, you can edit the metadata by hand, using text editors, Visual Studio Code, or other tools. You can even integrate with Git repositories to track changes and collaborate more effectively with your development team. Developer Projects are especially useful for bridging the gap between admins and developers who need access to all aspects of Salesforce metadata.

2. What Is Salesforce DX?

Salesforce DX (Developer Experience) is a collection of features, tools, and APIs designed to enhance modern software development on the Salesforce Platform. It aligns closely with DevOps practices, allowing both administrators and developers to work with best-in-class development methodologies. Key themes of Salesforce DX include:

  • Version Control Integration: Salesforce DX leverages version control systems to maintain a single source of truth for all your Salesforce metadata.
  • Scratch Orgs: Short-lived Salesforce orgs that mirror production environments, allowing developers to build and test changes in isolation.
  • Salesforce CLI: A powerful command-line interface for managing source code, scratch orgs, project packaging, and deployments.
  • Second-Generation Packaging: Streamlines app distribution and dependency management through self-contained packages known as unlocked packages.
  • Metadata Format: The Salesforce DX source format organizes metadata in a way that is friendlier to source control and modular development.
  • Visual Studio Code Integration: Extensions for Visual Studio Code enable streamlined development, debugging, and source control directly within the editor.

By adopting Salesforce DX, teams can utilize continuous integration and continuous delivery, bringing greater consistency to building, testing, and deploying changes. Administrators benefit by having well-organized metadata, stronger collaboration with developers, and more predictable release cycles.

3. Creating Developer Projects in Metazoa Snapshot

Within Metazoa Snapshot, you can create a Developer Project by dragging the relevant icon from the Tool Palette to your workspace. A Metadata Snapshot icon is displayed in blue, while Developer Projects appear in green. Much like a Metadata Snapshot, you can right-click or double-click the Developer Project icon to manage its settings.

When you create a Developer Project, you will:

  • Select a Local Folder: Browse to the folder on your file system where you want the project’s metadata to reside. You should have full read/write access.
  • Choose a File Format: Select from Metadata API Format, Force.com IDE Format, or Salesforce DX Format. The choice affects how your metadata files are organized locally.
  • Link to a Remote Repository (Optional): If you want to integrate the Developer Project with Git for version control, you can connect it to Git-based hosting services. This step requires the Git CLI.

After configurations are completed, you can run certain reports on the Developer Project. Although you will miss out on data record–related reports (those that require real-time data), many metadata-centric reports remain available for Developer Projects.

4. Editing Developer Projects

After a Developer Project is created, you can edit its properties by right-clicking or double-clicking on the project icon. This brings up the configuration interface, where you can:

  • Switch Folders: Change the local folder used by the project. Each project requires its own separate directory.
  • Remap File Formats: Switch between Metadata API, Force.com IDE, or Salesforce DX format. Metazoa Snapshot can remap existing files to match the chosen format.
  • Enable or Disable Remote Repository: Decide if the Developer Project should sync with an external Git repository. If connected, pulling or cloning remote files will overwrite local copies during snapshot operations.

Administrators can take advantage of this setup by maintaining a local cache of metadata that is easy to review or modify. Developer Projects also serve as a staging area where you can test out changes before deploying them to a live Salesforce environment.

5. Available File Formats

When configuring a Developer Project in Metazoa Snapshot, you can choose among three different file formats, each serving distinct DevOps workflows and developer preferences:

Metadata API Format

This is the standard structure returned by Salesforce’s Metadata API. It is also the default format for Metazoa Snapshot users who are unsure which route to take. Folders are created based on packages—one folder for each package, plus an unpackaged folder for all non-packaged components. Common subfolders include classes, objects, pages, and so on. XML files within these subfolders contain your metadata definitions.

Force.com IDE Format

In this format, each package is placed under a folder called referencedPackages, while unpackaged assets are found in the src folder. Historically used for an Eclipse-based IDE, this format remains an option if you need compatibility with legacy tools.

Salesforce DX Format

Often known as the “source format,” Salesforce DX organizes metadata in a structure conducive to modular development and version control. For example, an Apex class is placed in a folder with the same name, and each object has its own folder for fields, workflows, and other assets. By checking the “Single Unpackaged Folder” option in Metazoa Snapshot, you can align your local project to the force-app folder used by the Salesforce DX format.

Switching formats is possible. Metazoa Snapshot can intelligently remap files from one format to another, simplifying conversions and ensuring that you can adapt to new development processes without manual file reorganization.

6. Connecting to Remote Repositories

Developer Projects in Metazoa Snapshot can optionally link to remote repositories hosted over Git-based services. Examples include services that provide SSH or HTTPS protocols. Connecting to a remote repository allows you to:

  • Collaborate with Teams: Multiple team members can clone and work on the same repository, merging or branching changes.
  • Maintain Version History: Version control provides an audit trail of changes to each metadata file over time.
  • Automate Deployment: With version control in place, you can integrate continuous integration (CI) or continuous delivery (CD) pipelines more easily for Salesforce.

When connected to a repository, the Developer Project interface will show repository-based commands for cloning, pulling, and pushing files. Each time you perform a snapshot, the content from the remote repository will be refreshed locally, keeping your Developer Project fully synchronized.

7. Taking Snapshots of Developer Projects

Unlike a live org, which automatically has metadata available for snapshot operations, a Developer Project’s metadata resides in the local folder or remote repository. To create a snapshot, open the “Take Snapshot” tab for your Developer Project. During this process, Metazoa Snapshot will:

  • Harvest Metadata From the Local Folder: The tool will scan all locally available files, whether they exist on your machine or are cloned from a remote repository.
  • Convert to Internal Structures: If you’re using the Salesforce DX format, Metazoa Snapshot can convert that source format to gather a comprehensive map of your metadata assets.
  • Create a Snapshot Record: The snapshot is stored internally so you can run reports, compare versions, and prepare for deployments.

Once a snapshot is created from your Developer Project, you can use many of the same features available for live Metadata Snapshots: analyzing changes, visualizing metadata dependencies, and generating in-depth technical debt reports. Note that data-based reports will not be available, since Developer Projects do not store data records.

8. Metadata Deployments

One of the greatest advantages of Metazoa Snapshot is its flexible deployment interface. You can deploy metadata to and from Developer Projects just as you would with a live org.

  • Developer Project as Source: In this scenario, your deployment arrow originates from a Developer Project. All assets in the current snapshot can be deployed to another target, including a Sandbox or Production org, or even another Developer Project.
  • Developer Project as Destination: Point the arrow to the Developer Project where you want the metadata to be saved. This is particularly useful if your local environment or Git repository must be brought into sync with a specific Salesforce org.

When a Developer Project is tied to a remote repository, the latest metadata will be included upon taking a snapshot. Any subsequent deployments will use these mirrored assets. Advanced options such as rollback or quick deployments may be disabled when using Developer Projects as the destination, but the power to compare and align different orgs or local metadata sources remains fully intact.

9. Use Cases for Developer Projects

Metadata Editing

A Developer Project gives you immediate file system access to metadata. You can open and modify XML or text files directly with your preferred editor. Once changes are ready, simply take a new snapshot and deploy those updates to a test or production environment. This opens the door to advanced manipulations that may not be possible directly from Salesforce Setup.

Remote Repositories as Single Source of Truth

When your team treats a remote repository as your single source of truth, Developer Projects become a vital connection point between Salesforce orgs and the repository. Metazoa Snapshot can download or upload the latest changes whenever you take a snapshot, ensuring alignment between your version-controlled code and the live environment.

Visual Studio Code Integration

Visual Studio Code offers a convenient, modern environment for editing Salesforce DX projects. Administrators and developers using VS Code can combine these capabilities with Metazoa Snapshot’s metadata deployments, difference analysis, and technical debt reporting. This makes it easier to adopt standard DevOps workflows, all while retaining robust reporting and management from Metazoa Snapshot.

Smart Deploy

Metazoa Snapshot supports many metadata reports against a Developer Project, such as code quality and impact analysis. You can refine or fix issues in your files, saving the updated metadata in the Developer Project. You then decide if and when to deploy those changes into a Salesforce org or keep them stored until a future release cycle.

Leverage Scratch Orgs and Sandboxes

Scratch orgs play a big role in Salesforce DX, as they are ephemeral environments used for development and testing. You can create a local Developer Project in Salesforce DX Format, push the code to a newly created scratch org, and then pull any changes back. Once everything is validated, changes can be deployed to sandboxes or production. While scratch orgs are short-lived, sandboxes persist longer and allow for user acceptance testing, training, and additional validation.

Second-Generation Packaging

If you leverage second-generation packaging (2GP) in your environment, Developer Projects can store and manage the relevant package directories. You can create, update, and deploy these packages with ease. Version control combined with Metazoa Snapshot ensures you maintain a clear history of package versions, dependencies, and components across your pipeline.

10. Conclusion

Salesforce Administrators often juggle tasks that span metadata organization, version control, continuous integration, and collaboration with development teams. By utilizing Metazoa Snapshot’s Developer Projects, admins gain powerful ways to manage and synchronize changes outside of traditional Salesforce environments. Pairing Developer Projects with Salesforce DX, remote repositories, and comprehensive snapshot reporting provides a holistic, flexible solution.

Whether you are looking to refine your metadata, adopt DevOps best practices, or consistently align multiple environments, Developer Projects offer tremendous benefits. You gain local control over metadata, advanced editing capabilities, never-before-possible comparisons, and a cohesive link to modern development tools. With Metazoa Snapshot, the gap between administrators and developers narrows significantly, creating a more efficient and reliable Salesforce ecosystem.

For additional training or to learn more about Salesforce DX, scratch orgs, version control practices, and second-generation packaging, explore official Salesforce documentation. Reach out to Metazoa Support if you need assistance installing the Salesforce CLI, configuring Git, or optimizing your overall DevOps processes. As you integrate these solutions, you will discover that Developer Projects can serve as the backbone of a successful and agile Salesforce release management strategy.

🎉 Congratulations! 🎉

You’ve successfully completed the Metazoa Metadata Studio Certification Class. With the skills you’ve acquired, you’re now adept at harnessing the power of Metazoa’s Metadata Studio, seamlessly integrating artificial intelligence into Salesforce org management. You have earned you a certificate! Well done, and we wish you continued success in your future endeavors!