The Force.com Migration Tool is a Java/Ant-based command-line utility, based on the Force.com Metadata API, for moving metadata between a local system directory and a Force.com organization.

learn more… | top users | synonyms

1
vote
1answer
18 views

How to setup package.xml first time for an already running org?

I am working for a company which has already salesforce implemented and I was given the test sandbox and now I am trying to create the package.xml for the first time. Here are few questions I have: ...
2
votes
1answer
57 views

“Error: Must specify the metadata file” reported with Force.com migration tool

I have brought down a copy of a Salesforce org from a Git repository. When attempting to deploy it to a sandbox I'm getting the following error (suitably anonymised): <sf:deploy ...
1
vote
1answer
28 views

Salesforce and Informatica cloud dala loader not getting connected

I'm using Informatica Cloud data loader to export data from Salesforce to external csv file. I'm trying to make a connection with Salesforce but geting this error: "The login to Salesforce.com ...
2
votes
1answer
46 views

OwnerSharingRules removed from Summer 15 API

As stated here: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_ownersharingrule.htm OwnerSharingRules have been removed from the API. For example, the folder ...
1
vote
1answer
15 views

Can i upload managed package to Appexchange using migration tool?

Can we upload a managed package to appexchange using migration tool? What is the target name? I found this build.xml and there is a target for deploying managed package but haven't tried. Could ...
0
votes
1answer
34 views

Ant Migration package.xml Select all except 1

I'm trying to get the code from my SalesForce sandbox after UI changes have been made and then push that to my stash repo using a bamboo build. However, an error occurs on the build referring to ...
3
votes
1answer
20 views

Why is ant trying to deploy components which are not described in the package.xml?

This is kind of linked to my other question How to Integrate github and Ant migration tool? Here is my package.xml file: <?xml version="1.0" encoding="UTF-8"?> <Package ...
1
vote
1answer
21 views

How to Integrate github and Ant migration tool?

I am trying to integrate github with ant migration tool and here is the description of the problem I am facing: I download code from Github everyday and upload to my server using force IDE by right ...
2
votes
1answer
24 views

How do I migrate from Developer Edition to Contact Manager Edition?

I'm ready to migrate a client from a Developer Edition environment to a Contact Manager environment. In the past, I've always worked with an edition with API access and used Eclipse to do the ...
4
votes
0answers
19 views

Delete Profile settings via migration tool?

I'm trying make changes within a box, and I can see how to change settings via the migration tool, but I'd like to delete all loginIpRanges for a certain profile. Is this possible? I attempted ...
1
vote
1answer
39 views

The approval process references the workflow action FieldUpdate Some_Field_Update, which doesn't exist for the Some_Custom_Object__c object

While trying to deploy an approval process with the Salesforce Migration Tool, I get the following error: The approval process references the workflow action FieldUpdate Some_Field_Update, which ...
3
votes
1answer
102 views

Salesforce ANT migration tool login failure

We want to use ANT migration tool for our deployment. I have set it up but whenever I am trying to deploy the package, I get the following error: BUILD FAILED Failed to login: Failed to send request ...
1
vote
1answer
78 views

Warning: Added entity: My_Custom_Object__c support on queue: MyQueue

I'm using the Salesforce Migration Tool (Ant) to migrate a custom object. I am using the migration tool to pull the custom object down then deploy it. The package.xml is very simply... just trying to ...
0
votes
1answer
35 views

Salesforce Org to Org Object migration

I have developer edition, I am new to salesforce started moving the objects from org to org and I'm not sure what is the best way to do that I have read few sites but does not really help and I have ...
1
vote
1answer
40 views

Entity type 'ApexClass' is not available in this organization

During the retrieve step (trying to retrieve the code) while trying to deploy the code in the target environment I get the following error: Retrieve warnings (1): [sf:retrieve] package.xml - ...
0
votes
2answers
64 views

Salesforce solution to ETL data from one org to another, preserve relationships, map data to new object types

I am seeking a tool that offers the features to 1. export data, using filters, from a legacy organization 2. map that data to a existing or new structures in a new org, example Leads with set of ...
0
votes
0answers
15 views

Community - Chatter Email Footer Text Metadata

We use the Ant Migration tool to store all our Salesforce customisations in source control. At the moment I am customising a Community Chatter Email Branding to have a custom logo and footer text. ...
2
votes
3answers
43 views

Is there a way to schedule a schedulable class during deployment using Migration Tool?

I would like to add a schedule to my Schedulable class during the deployment of my code via Salesforce Migration Tool. For example, one might schedule a class as per this example: scheduledMerge m = ...
2
votes
0answers
109 views

Force.com Migration Tool - Standard Quickactions not found during deployment

I am trying to deploy between sandboxes using the Force.com migration tool but keep getting build failures because the standard Case quickactions (Case.Email, Case.ChangeStatus, etc) used on certain ...
0
votes
2answers
37 views

Rate limit on Metadata API?

Is there a rate limit on the Metadata API? I seem to have caused some massive problems by using the Migration Tool a bit too frequently.
2
votes
0answers
31 views

Destroying dependencies with Ant Migration Tool

I have a very simple case that I'm surprised Salesforce migration tool can't deal with. I have two date fields on Account: Open and Closed. I then have a formula field that sets a boolean to true if ...
1
vote
1answer
167 views

Failed to login: UNSUPPORTED_API_VERSION - Invalid Api version specified on URL

I'm using the Force Migration Tool (Ant Task) and getting an error on a deploy command: <target name="deployCode"> <sf:deploy username="${sf.usernameDestination}" ...
1
vote
2answers
56 views

Convention or meaning for Force Migration Tool folders?

I'm using the Force.com Migration Tool and I'm trying to figure out what directory name(s) I should be using in my build.xml file. Note, I'm not trying to deploy to the AppExchange. This in internal ...
0
votes
1answer
40 views

Using Salesforce Migration Tool with Force IDE

I want to use the Force IDE and the Salesforce Migration Tool (Ant) to manage my deployments. I am wondering if there any best practices for how to structure this project in the Force IDE. Should I ...
1
vote
1answer
133 views

Deploying Business processes with ANT

I have tried to deploy business processes with ant. I seem to have the syntax wrong. I am seeing Entity type: 'businessProcesses' is unknown <?xml version="1.0" encoding="UTF-8"?> <Package ...
2
votes
0answers
29 views

how to deploy only the Commit - continuous integration? [duplicate]

I am facing an issue and am sure there must be very simple solution for this.Can anyone help me ? I have bamboo server running which picks up stash rep where I have committed my code from Eclipse ...
1
vote
1answer
45 views

Metadata Compare- is there an easier way than selecting all components in eclipse, then using a tool like Kaleidescope(mac)

I'm in progress with a Metadata Compare of 2 Salesforce Sandboxes. As part of a client requirement, we have to do a full compare that migration to a new sandbox is complete. We are using changesets, ...
0
votes
1answer
42 views

Best way to migrate binary attachments from one org to another

Currently I am using apex data loader with bulk api enabled and batch size =1 . But its giving me failed to create batch when i try to import 1000 files with each size around 100kb. I need to ...
0
votes
1answer
187 views

Why Bamboo fails? Salesforce Continuous Integration

I have a stash repository and Bamboo to build. I have created a task that runs the build.xml. But I when i run the plan (build plan) I get this error which doesnt say much : Failing task since return ...
2
votes
2answers
50 views

Export data from related objects

I have changed the structure of my database and now I need to export some data in order to insert it into the new structure. I need to query data from two related objects and the relation needs to ...
6
votes
1answer
178 views

Any way of resetting my development org to an empty state?

Is there currently any way to reset a salesforce development org to an empty state using the Migration tool. I am aware of destructiveChanges.xml but this seems to be giving me issues because of ...
1
vote
2answers
713 views

Ant migration tool--FAILED TO SEND REQUEST

I am trying to use Force.com migration tool and trying to retrieve from an org. I installed Ant,Java did specify credentials in my build properties as below sf.username = ** sf.password =** ...
3
votes
2answers
167 views

Deploying via the Migration Tool With a Managed Package Failing Due to Namespace

I'm new to the Migration Tool and I'm having an issue deploying my managed package code to a developer org. The error I'm getting says: The specified package namespace: NAMESPACE does not match ...
0
votes
0answers
44 views

Issue in Deployment of Document object CRUD access

i am trying to do a deployment using ant and i am facing an issue in migration the CRUD permission for Document object. I see that for profiles i have the option to define CRUD access for document ...
2
votes
2answers
509 views

Migration Tool: Object Buttons, Links, and Actions?

Not seeing anything related to these in the Metadata types documenation. Can anyone give me an example of how these can be referenced?
2
votes
1answer
160 views

Force.com migration tool - migrating new fields and Profile

I am using force.com migration tool to retrieve newly added fields and field permission for one of the profile from one sandbox and deploy it into another sandbox. I am able to do this successfully. ...
5
votes
1answer
198 views

Is it possible to delete a record type through Metadata API?

I'm deploying a destructiveChanges.xml file via Force.com Migration Tool to delete some listViews, Custom Fields, and Groups. I determined we also can remove some record types from Cases. I received ...
3
votes
1answer
432 views

Migration tool trying to deploy all /src when package.xml only specifices one custom object

I am trying to set up a Jenkins job which uses the migration tool to move code from a source control system to an org. To test the job I created a new custom object named aaaTest__c. I changed my ...
4
votes
1answer
125 views

Unable to modify certain fields in *-meta.xml files

I would like to be able to modify all fields in a specific *-meta.xml file in either the Force.com IDE or the Force.com Migration Toolkit. However, I am unable to set some fields. For example, I ...
2
votes
2answers
489 views

How can I deploy and remove components in one step with the ant migration tool?

I am familiar with how to use the destructiveChanges.xml file to remove components from my org. But it seems like I have to deploy then delete or vice versa. Is there a way to set up a package so ...
1
vote
1answer
123 views

Migrating SugarCRM to Salesforce

We have a hosted SugarCRM V 6.3.3 with a MS SQL server backend and wanted to migrate data from it to Salesforce. No one in the organization is really familiar with inner workings of Sugar. Is there ...
2
votes
0answers
58 views

Copy custom objects from developer to professional edition

We need to start a Salesforce project with a Professional Environment. I thought to create a development environment to realize the custom objects, the visualforce pages and everything the customer ...
7
votes
1answer
1k views

Force.com IDE profile deployment - You cannot deploy to a required field Object_Name__c.Field_Name__c

The following error pops up when I am trying to move all the meta data from one environment to another (with Profiles). You cannot deploy to a required field Object_Name__c.Field_Name__c Upon ...
2
votes
1answer
219 views

Using sf:bulkRetrieve do not fetch metadata components associated with a managed package

Given a metadata like "ApexTrigger" is it possible using sf:bulkRetrieve to fetch all triggers except the triggers part of any managed package ? EDIT:Also when we use sf:retreive using the ...
1
vote
1answer
132 views

Migrate custom field in Activity object

I've added a custom field to the Activities object which I'm trying to migrate data into using the Data Loader on the Event sub-object. However, when I'm creating the map for loading, I do not see my ...
1
vote
1answer
57 views

Data Loader is skipping records during migration

I uploaded a batch of 10,000+ Accounts. Out of the Load file, let's say I have a record by the name Acme. Acme has apparently been successfully uploaded according to the Success Log (which also has ...
1
vote
3answers
1k views

Force.com Migration Tool - How to correctly retrieve & deploy

I'm looking for some guidance on how this tool is widely used. We have the following scenario: Source: 1x Production org, with 1 (or more) managed packages installed. Targets: Multiple Production ...
2
votes
3answers
553 views

Formula Field Deployment to Production

I am trying to deploy a couple of formula fields from sandbox to production but I am receiving this error: The formula references fields across 11 relationships while only 10 are allowed. Now I know ...
3
votes
2answers
2k views

How to retrieve customFields on standard objects using Ant Migration Tool

Background I'm trying to reset a dev org by using this ant script. Most part of the customisations added by default are removed. However, I'm not being able to retrieve custom fields on ...
9
votes
4answers
2k views

Ant Migration tool - sf:compileAndTest

I would like to configure the ant migration tool so that only test classes are run that we own so no managed package classes. Now i searched on the documentation of the tool and i only find the ...