Scratch orgs, like development sandboxes, don’t include data when created. Because scratch orgs are typically created and dissolved on a daily basis, quickly and easily adding data to and deploying data from scratch orgs is critical for developer productivity. Prodly provides a Salesforce CLI plugin so Salesforce developers can easily seed their scratch orgs with data and/or deploy data to and from any Salesforce environment directly using the sf command line interface.

The plugin allows you to deploy data between these environment types for any environment you have credentials to access:

Some example use cases:

Related Projects and Packages:

Setup

To properly set up your environment for using the plugin:

  1. Install the Salesforce CLI
  2. Follow the instructions in the Salesforce CLI Setup Guide to enable the Salesforce Developer Hub (dev hub) in your production or business environment.
  3. Follow the instructions in the Install the Managed Package topic of Prodly Release to install the Prodly managed package in your dev hub org. The dev hub org must be the control environment.
  4. Install the Prodly Salesforce plugin using the command: sf plugins install [email protected]
  5. Use the Salesforce command-line interface (CLI) to authorize your dev hub org: $ sf login web org