Skip to content

Instantly share code, notes, and snippets.

@jkentjnr
Created April 6, 2023 04:55
Show Gist options
  • Save jkentjnr/24c7805402004d4c7e7596c817d84aed to your computer and use it in GitHub Desktop.
Save jkentjnr/24c7805402004d4c7e7596c817d84aed to your computer and use it in GitHub Desktop.
Salesforce: Publish Between Orgs using SFDX
sfdx alias set [email protected]
sfdx force auth web login -a abc_production
sfdx alias set [email protected]
sfdx force auth web login -a xyz_sandbox -r https://xyzfoundation--movedata.sandbox.my.salesforce.com
sfdx force:mdapi:retrieve -k package.xml -s -r . -u abc_production
unzip ./unpackaged.zip -d ./unpackaged
sfdx force:mdapi:deploy -d ./unpackaged -w 10 -u xyz_sandbox
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>MoveData_Donation_Contact_Post_Upsert_Ext</members>
<name>Flow</name>
</types>
<version>55.0</version>
</Package>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment