This one I learned just recently thanks to my friend ( and onboarding buddy for life ) Mariyan Topalov. It gives us a way to use Workbench for deployments from one org to another, which you may find very useful.
So, let's begin!
Download and install this chrome extension, called Force.com Migration Tool Package Creator, link
Log into Workbench with the credentials for the org that we are going to retrieve data from. In my example this is my Dev environment
![](https://static.wixstatic.com/media/4620a7_de9f713a13d24ebbbe7c758b72206c77~mv2.png/v1/fill/w_975,h_362,al_c,q_85,enc_auto/4620a7_de9f713a13d24ebbbe7c758b72206c77~mv2.png)
Once you are logged in, click
Info
Metadata Types & Components
![](https://static.wixstatic.com/media/4620a7_7435398320f7450aa54914c4cd972e94~mv2.jpg/v1/fill/w_955,h_297,al_c,q_80,enc_auto/4620a7_7435398320f7450aa54914c4cd972e94~mv2.jpg)
Choose the desired Metadata / Component in the Search field and mark the checkbox next to it, so that you can see it in your XML file on the left ( this is the magic from the extension we downloaded in step 1 )
HINT: list of metadata types
After choosing a custom field for example
![](https://static.wixstatic.com/media/4620a7_87be51f773934b20b25a4143d4ce29a3~mv2.jpg/v1/fill/w_940,h_482,al_c,q_85,enc_auto/4620a7_87be51f773934b20b25a4143d4ce29a3~mv2.jpg)
Click Download XML under Package XML on the left
Open the XML file with Notepad or Notepad++ and edit the version to be the same number as it is in your workbench
![](https://static.wixstatic.com/media/4620a7_51b631c4111f4d2cb00b0d896cc580b3~mv2.png/v1/fill/w_847,h_237,al_c,q_85,enc_auto/4620a7_51b631c4111f4d2cb00b0d896cc580b3~mv2.png)
Than, click
Migrate
Retrieve
![](https://static.wixstatic.com/media/4620a7_b86f67d6f6814c0e918d3ae8ed187f89~mv2.jpg/v1/fill/w_965,h_284,al_c,q_80,enc_auto/4620a7_b86f67d6f6814c0e918d3ae8ed187f89~mv2.jpg)
Upload your XML file ( these are the things that we want to first retrieve, than deploy ) and check Single Package
![](https://static.wixstatic.com/media/4620a7_fd2881f84a9842f78ead04d3196f3a8d~mv2.png/v1/fill/w_959,h_343,al_c,q_85,enc_auto/4620a7_fd2881f84a9842f78ead04d3196f3a8d~mv2.png)
Next and Retrieve. Wait for the retrieval to finish and check your status message
![](https://static.wixstatic.com/media/4620a7_3f77a5f01e2045a180439f86f6de4f72~mv2.png/v1/fill/w_956,h_692,al_c,q_90,enc_auto/4620a7_3f77a5f01e2045a180439f86f6de4f72~mv2.png)
Download the ZIP file and logout from Workbench. Log in again, but this time use the credentials for the target org.
Go to
Migration
Deploy
Upload your ZIP file ( from previous step )
Check these checkboxes Check Only
Rollback On Error
Single Package
![](https://static.wixstatic.com/media/4620a7_1da2ce5c9ca444068bb3b72fb36c5f96~mv2.png/v1/fill/w_751,h_579,al_c,q_90,enc_auto/4620a7_1da2ce5c9ca444068bb3b72fb36c5f96~mv2.png)
Next and Deploy. Don't worry, because we are only checking if everything goes as planned.
![](https://static.wixstatic.com/media/4620a7_7b05bdf157084352a69a0a8cb65acd22~mv2.png/v1/fill/w_974,h_689,al_c,q_90,enc_auto/4620a7_7b05bdf157084352a69a0a8cb65acd22~mv2.png)
If no errors are found, we are good to go, to do this last step once again, but this time, check only these checkboxes AND NEVER EVER EVER EVER EVER forget them!!!!
![](https://static.wixstatic.com/media/4620a7_001357d668974fadb499756946b37738~mv2.png/v1/fill/w_747,h_519,al_c,q_90,enc_auto/4620a7_001357d668974fadb499756946b37738~mv2.png)
DONE! You can now go to your target org and check your changes. If you find any errors during check phase, expand the folder with errors, see what's in there, go back and make the changes needed!
Thank you, Mariyan, for the valuable lesson!
Comments