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
17 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 ...
-2
votes
0answers
11 views

Force.com Migration Tool - GET Not supported 405

I am able to successfully configure Salesforce Force.com Migration tool and execute using Jenkins on a Windows machine. I am getting an issue with a similar setup in the Linux environment. I get ...
3
votes
1answer
41 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
18 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
26 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
21 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
1answer
9 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
10 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
39 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
88 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
30 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
19 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
31 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
47 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
29 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
55 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
28 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
0answers
31 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
35 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
141 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
43 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
125 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
478 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
115 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
40 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
1answer
334 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
138 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
147 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
349 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
114 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
344 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
107 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
49 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 ...
6
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
201 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
119 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
55 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
454 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
1k 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 ...
8
votes
3answers
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 ...
4
votes
2answers
1k views

Deploy Dashboards and Reports using Migration Tool

I can't find a way to deploy Reports and Dashboards to a new organization. It's complaining it can't find the reports folder. And there's a very unhelpful error with the folder: ...
2
votes
1answer
213 views

Move Queues between instances with Force.com Migration Tool (Ant)?

I know I can move Queues from instance to instance using Change Sets, but is there any way to do it with the Force.com Migration Tool (Ant)?
9
votes
2answers
1k views

Resetting my development org to an empty state

I would like to clear out my development org of all artefacts on a regular basis and then do a deploy of the development package from my local source. I realise there are retrieve and list tasks ...
12
votes
1answer
179 views

How can I delete a Development Package (not an Installed Package) programatically?

Under Setup > Create > Packages, I have deployed "packages" with prefix 033 Under Setup > App Setup > Installed Packages, I have installed "packages" also with prefix 033 I understand that it is ...
4
votes
1answer
98 views

More than 1 developer package named 'MyPackage' exists in this organization. Please rename one of packages so that it has a unique name

First I was getting this error when tried to import the package from XML using Metadata API (I use force.com CLI for that). The package with this name really exists in the organization, but it ...
4
votes
1answer
171 views

errors while use force migration tool

I'm work on a managed package in a developer org and I'm using the migration tool to move the contents to an Enterprise Edition org provisioned from the partner portal. I was able to pull my package ...
4
votes
2answers
358 views

RecordType Label Error: Duplicate Values Not Allowed

I deployed a new RecordType to an Opportunity (where other RecordTypes/Sales Processes already existed). I notice that my RecordType, when selected on a new Opportunity, returns bad data for my Stage ...
12
votes
1answer
1k views

How to mass populate State & Country picklist values

I have played with the State & Country picklist value UI for adding them, and it works OK for small amounts, but it is not meant for batches. I have 760 additional states I need to add for various ...
7
votes
1answer
2k views

How to deploy approval process using ANT/Eclipse in salesforce

I am trying to deploy approval process to cutomer Production orgs. It is difficult to do the manual creation of approval in each customer org. Anybody know this can be done by ANT/Eclipse ? Thanks in ...