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

2
votes
1answer
32 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
34 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. ...
3
votes
1answer
58 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 ...
2
votes
1answer
47 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
72 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 ...
1
vote
2answers
89 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
51 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
28 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 ...
5
votes
1answer
486 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
85 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
54 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
47 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
2answers
498 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
203 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
636 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 ...
6
votes
3answers
831 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
505 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
107 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)?
6
votes
2answers
706 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 ...
11
votes
1answer
128 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 ...
3
votes
1answer
72 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
106 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
1answer
240 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 ...
10
votes
1answer
807 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
1k 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 ...
0
votes
0answers
27 views

How to communicate migration of deleted objects and getting version history

Query 1. Currently we don’t have meta data for ‘version history’ accessible via Ant API. So if developer goes to salesforce URL,and make changes directly ,version history is not logged or accessible ...
1
vote
0answers
42 views

Migration issues in sandbox

I got a sandbox whose metadata i want to migrate to another sandbox(not belonging to the same production) My target sandbox is consulting partner edition and source is Enterprise Edition I tried ...
3
votes
1answer
107 views

Ant Retrieve Call for Layouts Throwing Java.Io.IOException: File name Directory name invalid

I wanted to have Automated Backup of Salesforce Environment which includes all of the code and configuration we get through the Eclipse project and then meta data Selection. I used ANT scripts and ...
11
votes
1answer
109 views

page compile problem not being caught by force.com IDE or ant migration

Today we had an interesting problem that a developer made a change to a Controller that removed an attribute from controller but left it in the page - which should then cause the compile error to a ...
3
votes
1answer
318 views

Ant migration tool and own required test coverage value

Does somebody know about the following scenario: I need to - calculate an apex code coverage during deployment with Migration tool - give the result on console, - after that I need to decide about ...
2
votes
0answers
36 views

layoutItems order problem

We have a developer that added a new field to a custom object. It was automatically added to the layout in the last position. She refreshed her force.com ide fom the server and pushed the change to ...
4
votes
1answer
205 views

How to retrieve action overrides?

Question Is there any trick to retrieving action overrides via the metadata api? Background The docs seem to indicate this is straightforward, just use object dot notation and a type of ...
1
vote
1answer
600 views

Change sets including custom objects and custom fields

I have always been curious how other developers deploy custom objects and fields. If I have a small amount of development work in sandbox, I can just recreate the new custom objects and fields in ...
1
vote
1answer
503 views

How to automate the loading and updating of reference data from command line/ant?

It seems there are tons of ways to load data into salesforce - https://help.salesforce.com/HTViewHelpDoc?id=import_which_data_import_tool.htm&language=en_US But I am specifically looking for the ...
3
votes
2answers
180 views

force.com ide circular dependency problem for new dev setup

we are using the each dev having own sandbox with svn & force.com ide method of team development outlined here ...
1
vote
0answers
150 views

Force.com IDE auto-commit on deploy

We are using the standard SVN eclipse plugin: Subversion. Is it possible to configure Force.com IDE to auto launch the SVN commit after "deploy to server" ? I was looking for something like "hooks" ...
8
votes
1answer
508 views

Get Status Updates When Running Tests with ANT Migration Tool

I'm trying to set up Jenkins to automate a daily task of running all tests in my sandbox (and eventually, production environment. Typically, when I do a deploy or retrieve task, I get lots of output ...
3
votes
1answer
419 views

Custom Field Definition ID: bad value for restricted picklist field: RecordType

I am migrating objects from one org to another using the ant migration tool and came across the following error. Custom Field Definition ID: bad value for restricted picklist field: RecordType I ...
2
votes
2answers
57 views

Standard Objects in PermissionSets - Migration Retrieve Issue

I have a PermissionSet in a dev org. When I retrieve this PermissionSet using the migration tool, only the permissions that I have set for Custom Objects show. I added CRUD permissions for several ...
3
votes
1answer
282 views

Deploying classes with the Migration Tool

I'm new to SalesForce development, so forgive my if this question doesn't make sense. I've opened my org in sales force and have synchronized labels, classes, pages, custom objects and triggers and ...
3
votes
1answer
437 views

How Run Tests in Default namespace for sandbox using Ant

I am planning to run SFDC tests for Default namespace in sandbox my build file is as follows - <target name="RunTestDefaultNamespaceSandbox"> <sf:compileAndTest username="${sf.username}" ...
3
votes
1answer
787 views

Deploying custom setting using ant

I was looking at this doc : http://www.salesforce.com/us/developer/docs/daas/salesforce_migration_guide.pdf I am preparing a ant manifest for migration and cannot find custom setting in the doc, I ...
14
votes
3answers
942 views

Hard-Delete Objects Using the Force.com Migration tool

Is there a way to hard-delete custom objects using the Force.com migration tool? When you deploy a DestructiveChanges payload, the objects are "soft-deleted" and not erased from the platform. This ...
2
votes
0answers
160 views

Deploying metadata to Group Edition

I'm attempting to deploy a page-layout with the ant-migration tool to a Group Edition org, however, when I do so using the <sf:deploy> call, the system attempts to run the unit-tests, and throws ...
6
votes
1answer
206 views

Customizing Package.xml for updating Sandboxes with Continuous Integration

I am setting up a continuous integration for a team development process using GitHub and Ant (and eventually Jenkins) and have a problem with deploying to dev sandboxes to keep them in sync with ...
6
votes
2answers
813 views

Deploy custom labels with Ant

We are trying to start using custom labels, but are having issues deploying them using our ant script. Our custom labels file looks something like this: <?xml version="1.0" encoding="UTF-8"?> ...
1
vote
1answer
214 views

Approach to Load data from Master to Child objects from Legacy database

We have an oracle database with 100,000 records which has a master table called Application and it has a child called Application Individual and each Application individual has one level children like ...
3
votes
1answer
504 views

Deleting/Editing fields with Migration Tool

I'm starting to use ANT to deploy changes to my SF org. Can I delete and edit custom fields using the ANT Migration Tool. In the documentation I only found how to delete the entire object
6
votes
2answers
771 views

Migration Tool: “Concurrent modification from setup pages”

I'm trying to deploy changes from one sandbox to another using the Migration Tool, but I keep getting the following error: Error: objects/Contact.object(263,13): Concurrent modification from setup ...
11
votes
3answers
520 views

Deploy to Production - Cancel Deploy After Test Failure

I am using the Ant Migration Tool for deployments. While utilizing this tool, all deployments are visible under the Monitor Deployments page. In a client's production instance, they have more than ...