0
votes

I'm using Mavensmate and Sublime to migrate custom object fields from one Salesforce sandbox org to another. I have successfully exported the custom fields from the Origin Sandbox, and see the fields defined in the Sublime project under src/objects.

I've created another Mavensmate/Sublime project for the Target Sandbox, and have tried simply copying the package.xml file and the src/objects directory to the new project, but deploying the changes via Mavensmate to Salesforce has no effect, and I am unable to see the custom fields in the Mavensmate project for the Target org.

In Mavensmate, clicking on 'Update Project' from within the Edit Project dashboard removes my changes to package.xml and the copied src/objects directory, however 'Refresh Metadata Index' has no effect at all.

How do I migrate these fields to Sandbox Target?

2

2 Answers

0
votes

To deploy to a remote environment using MavensMate:

  1. Select the requisite metadata (in your case, custom fields) from your source environment: MavensMate > Edit Project
  2. Set up a connection to your target environment: MavensMate > Deployment Connections
  3. Deploy to the target environment: MavensMate > Deploy to Server

hth

0
votes

I was able to accomplish the custom metadata migration successfully using the Salesforce Migration Tool with Java 1.8 & Ant 1.10.1