Development Workflow
Prerequisites
An sfp server connection
DevHub access
sf org login web --alias mydevhub --set-default-dev-hub
sf org display --target-dev-hub1. Get a development environment
# List what is available in a pool
sfp pool list --repository myorg/myrepo --tag dev-pool
# Fetch an org and give it a local alias
sfp pool fetch --repository myorg/myrepo --tag dev-pool --alias my-feature-org
# Fetch and set it as the default org
sfp pool fetch --repository myorg/myrepo --tag dev-pool --alias my-feature-org --set-default
# Extend the assignment before it expires
sfp pool extend --repository myorg/myrepo --tag dev-pool --assignment-id <assignment-id> --extension-hours 24
# Return the org to the pool
sfp pool unassign --repository myorg/myrepo --tag dev-poolCreating a sandbox directly
Working with the org
2. Develop
Pull the latest metadata
Add packages
Push changes to the org
3. Run tests
4. Build locally
5. Inspect dependencies
6. Submit the change
7. After merge
Common tasks
Environment-specific values
Deleting metadata
Troubleshooting
Push or pull reports conflicts
An empty pool
Build failures
DevHub connection
Last updated
Was this helpful?