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
13 views

ant deploy error - Maximum size of request reached

I used to deploy metadata using ant migration tool successfully but from last night I am getting the below error: John@John:~/mm_workspace/TEST_Project/deploy$ ant deployUnpackaged Buildfile: ...
1
vote
1answer
7 views

How do I resolve the deployment error “Permission ModifyAllData depends on permission(s): ManageNetworks”

How do I resolve the deployment error "Permission ModifyAllData depends on permission(s): ManageNetworks" or "Permission AuthorApex depends on permission(s): ManageNetworks"?
3
votes
1answer
34 views

Salesforce Ant Migration Tool - HomePageComponent

I'm trying to figure out when using the Salesforce Metadata API (salesforce ant migration tool) how to pull back the custom links defined within the HomePageComponents. I've pulled down a blanket from ...
0
votes
0answers
16 views

Error: field integrity exception: unknown (required must not be specified)

Got the following error when tried to deploy metadata via ant migration tool Error: field integrity exception: unknown (required must not be specified) Field metadata configuration is the ...
3
votes
1answer
163 views

Error: An unknown exception has occurred

While validating my changes to the sandbox with Force.com Migration Tool, I suddenly got the below error. Component Failures: 1. objects/PersonAccount.object -- Error: An unknown exception has ...
0
votes
1answer
25 views

Retrieving an Email folder using ANT [closed]

Can anyone post the correct XML for retrieving an Email folder using ANT? Thx.
1
vote
1answer
25 views

How to run all the test classes in the org using Ant?

I want to run all the test classes in my org excluding any test classes from Managed package installation using Force migration tool aka ANT. Looks like there used to be a task called ...
2
votes
1answer
23 views

When do we use allowMissingFiles for deploy target?

Could somebody please explain me the real time situation where we would need to set the attribute allowMissingFile="true" for deploy target for Force Migration tool. I read the documentation about ...
1
vote
1answer
21 views

Force.com migration tool sequence

I want to know if force.com migration tool follows a specific sequence to deploy components. the issue I am facing is even though I have removed all references of a variable from my page, still while ...
1
vote
2answers
81 views

How to retrieve or deploy Custom Metadata Records by ANT Migration Tool?

How to retrieve or deploy Custom Metadata Records by ANT Migration Tool? Is this possible? I guess it should be possible if this is available for packages and changesets but can't find a ...
1
vote
0answers
15 views

Migration tool took more than the expected time to finish the deployment

Validations and deployments via migration tool to a sandbox took more than the expected time to finish the deployment. Total deployment/validation time supposed to be roughly 30 minutes and suddenly ...
3
votes
1answer
40 views

Force.com migration tool deployment error with a history Tracking enabled custom object

While I was trying to deploy a copy of source code of production to a developer SB, with the Force.com migration tool, encountered the below error for a custom object with enableHistory = true in the ...
5
votes
1answer
46 views

Jenkins + Force.com Migration Tool - REQUEST_RUNNING_TOO_LONG

I am currently receiving a REQUEST_RUNNING_TOO_LONG error when using the Force.com Mirgration Tool and Ant with Jenkins. I've read quite a few posts about this error and understand that this is ...
1
vote
0answers
64 views

Error: Unknown user permission: ManageCssUsers

I could not deploy permissionset that contain MangeUserCss permission, via ant migration tool. In permission set metadata file it looks like code below: <userPermissions> ...
0
votes
1answer
27 views

Migrating Named Credential with password

I retrieved a Named credential using Ant migration tool and in the xml it looks like this: <?xml version="1.0" encoding="UTF-8"?> <NamedCredential ...
1
vote
1answer
13 views

Migrate Case Support Settings like Default Case Owner

Can Case Support Settings like Default Case Owner, automated case user be migrated from sandbox to production using ant migration tool by just including case object or they need to be migrated ...
7
votes
3answers
108 views

Why Force.Com Migration Tool Does NOT deploy CustomMetadata Records?

For the first time we started using Custom Metadata types to store our Custom Settings data. We created a new custom metadta type and created some metadata records for the object Eg: Metadata ...
1
vote
2answers
53 views

Receiving an error via Force.com Migration Tool for a simple deployment of metadata. Thoughts?

Here's the error: All Component Failures package.xml -- Error: No package.xml found package.xml -- Error: Bad file:Unexpected element < http://soap.sforce.com/2006/04/metadata > ...
3
votes
1answer
86 views

Lightning component deployment

I have created few lightning component in my GSO ORG and now I want to deploy it to my another ORG I created a below mentioned package . It is retrieving the lightning components and creating a ...
0
votes
2answers
108 views

Deployment Failed: profiles/Admin.profile — Error: Unknown user permission: LightningExperienceUser

In Winter '16, Salesforce rolled out the Lightning Experience. This can be optionally enabled for particular profiles. Initially this is not available for orgs that are using person accounts. ...
3
votes
3answers
169 views

Deploying destructiveChanges.xml - Error parsing package.xml

Wondering if someone can help me with this. I'm trying to delete some components with the migration tool (Ant). However when I try to deploy, I'm getting the following error: *********** ...
1
vote
1answer
59 views

ANT migration tool BUILD FAILED : Failed to login

So I installed ANT in my machine today and trying to play around with it. I'm trying to run my first command ant retrieveUnpackaged from the sample folder of salesforce and I'm getting the following ...
5
votes
1answer
77 views

Force.com migration tool metadata not retrieved

I am using ant target from the migration tool to retrieve all the medata from one of my sandboxes. In the list of metadata retrieved I don't have dashboard, email, reports, all is empty. But when I ...
2
votes
1answer
223 views

Getting an error that a flow “was” activate and cannot be overwritten

I'm using Salesforce Migration Tool (Ant) to deploy flows and processes. If memory serves, so long as the flow in the destination org was not activate (or deactivated) I could overwrite it. If you ...
0
votes
1answer
99 views

Transfer managed package code to different SF org using Ant Migration Tool

There is managed package on dev org, developed by our team. Using Ant Migration Tool code was fetched from salesforce. <target name="retrievePkg"> <sf:retrieve ...
0
votes
1answer
76 views

how to get Error log file using Salesforce Ant Tool

I am validating my Metadata using Migration tool (Salesforce ant) and checking error logs in the target org during deployment. I want to get the Error log into an external file. How do I achieve this ...
1
vote
0answers
13 views

migration tool deploys all not just changes [duplicate]

When I use a SF:deploy it deploys all the code in the src folder not just the files that have been changed. How can I make it so that it only deploys the files that have changed?
0
votes
0answers
13 views

Migration Tool MacroDef for Remote Git

I was referring to the following article on how to configure Migration tool to work with a Remote Git repository (BitBucket in my case) : ...
0
votes
1answer
156 views

Team Foundation Server and Force.com Migration tool , problems with antlib:com.salesforce:deploy

I am trying to build the salesforce project on Visual Studio Online - TFS (hosted) server. I use GIT as source control and have a simple build file <project name="Sample usage of Salesforce Ant ...
1
vote
1answer
59 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
270 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
73 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
167 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
27 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
75 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
44 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
61 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
50 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
34 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
134 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
282 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
423 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
2answers
94 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
106 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
3answers
143 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
30 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
50 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
168 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
53 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
72 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 ...