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

0
votes
1answer
12 views

Having troubles with deployment of custom filtered lookup field.

Whey trying to deploy code with ant migration tool, got the following error on filtered lookup field on custom object duplicate value found: <unknown> duplicates value on record with id: <...
3
votes
0answers
41 views

Check package dependencies

I'd like to run a sf:deploy in an org we're using for continuous integration. My package is dependent on a couple other packages which are updated semi-frequently. I've been using autoUpdatePackage="...
1
vote
1answer
26 views

ANT - Can't deploy Custom fields on Standard object

Is it possible to deploy Custom field on standard object via. ANT. I have checked it multiple time with following conclusion: 1. We can deploy Custom Field on Standard object via. Eclipse but not by ...
0
votes
1answer
38 views

Migrate Flows with ANT migration tool

I have a process builder flow which has a 9 versions of it. Wanted to deploy the mentioned flow through ANT migration tool and found that the flow is not deployed properly. The result is: I got 2 ...
1
vote
2answers
312 views

Unknown user Permission: ViewDataAssessment - Profile migration issue

I've been trying migrating some of my codes using ANT migration tool, including Admin profile. <types> <members>Admin</members> <name>Profile</name> <...
3
votes
1answer
47 views

Moving code from Git Repository to sandbox using Ant

We're trying to implement source control using GitLab and Jenkins. I know how to merge code between two branches in Gitlab. That has to trigger a job in Jenkins to deploy changes from the remote ...
1
vote
0answers
28 views

Ant retrieve doesn't include specific quickactionlistitem in layout metadata

We are using a simple ant script to retrieve certain types of metadata in our org, including various page layouts. On one such layout, we have some quickactions. We've noticed that when using the ...
0
votes
0answers
37 views

How to copy all the files modified today using ANT script?

What I want is to get all the files that were modified today. Here what I am tryng to do is getting all the changes from tfs to my local directory and then moving last modified files to a new ...
2
votes
1answer
42 views

How do I create ant task to copy required package.xml filesto another directory to deploy?

I am getting a configured package.xml file from force.com IDE and while using the same package.xml file to deploy changes from another folder ANT is checking all the metadata. I know that the tool ...
0
votes
1answer
36 views

Force.com Migration Tool & Ant

The context is simple : I need to copy metadata (spec. the Visualforce Page Access from a certain profile)from one org to another with some edition on the fly. Someone suggested me to use the Force....
1
vote
1answer
27 views

ant listMetadata not working for metadatatype report

I am trying to retrieve all the reports available in my sandbox using the below ant target and it is not returning anything. <target name="listMetadata"> <mkdir dir="listMetadata"/> ...
0
votes
2answers
46 views

Migration between unrelated orgs

Hi I will have to migrate code,reports and metadata between 2 unrelated orgs and I have concerns regarding few components. reports I remember having problems while deploying report folders. I had to ...
1
vote
0answers
61 views

limit exceeded error while deploying

I'm using Force.com Migration Tool to deploy Activity object's new fields to the target environment. My source has 100 fields in it's activity object (exact Activity custom field limit for the ...
1
vote
1answer
54 views

extract all reports from a specific folder

I am trying to migrate reports using ANT migration tool. Basically there are hundreds of folders and thousands of reports. i know that the wildcard * doesnot work with reports in package.xml.But its ...
0
votes
1answer
58 views

Unknown user permission :DistributeFromPersWksp while deploying profiles

I am getting the above mentioned error in delpoying the profile . But when i remove this from the reference of the user permission from the retrieved profile , i dont get any error. this is what i ...
1
vote
1answer
171 views

Error in deploying Record types using ANT Tool

I am able to retrieve the record type of opp object by first querying SELECT sObjectType, DeveloperName FROM RecordType But when i am deploying the same , i am getting the error "Error in field : ...
0
votes
2answers
50 views

How do we migrate SSL certifcate between sandboxes

Can we migrate SSL certificates between sandboxes? I have a certificate uploaded in one sandbox and working fine and now intend to move all the pieces to another sandbox. I was hoping certificates are ...
2
votes
1answer
37 views

Salesforce to Salesforce ETL - Automatic Data Transfers

My team is working on migrating to a new Org, from our previous Org. However, we need to use both and have the same data in both, as we will be rolling out clients in batches into the new Org, before ...
0
votes
2answers
27 views

Is it possible to migrate all UserRoles from one sales force Org to another sales force org using ANT tool?

How to move roles from sales force to sales force.could you please help me ? thankyou..
4
votes
1answer
43 views

How to find what files were deployed if package.xml is not available?

How do I find the list of files that were deployed to my sandbox if somebody else deployed components to using Force migration tool and I don't have access to package.xml file that they used. Below ...
0
votes
3answers
53 views

import metadata of Managed Package using Ant based tool

I am trying to move the metadata of my managed package to my local directory.For this i am using ANT tool.Namespace of the package is "gii".Apex class which i am accessig is searchCriteria.While ...
2
votes
0answers
61 views

Getting “Managed Package Patch Modification” Exception - when nothing has been modified

We are getting the following error when attempting to deploy an UN-changed version of an AuraDefinitionBundle to one of our Patch orgs using the Force.com Migration Tool: UNKNOWN_EXCEPTION: ...
0
votes
2answers
33 views

Force Migration Tool

I am new to this migration tool. I have a question like can we build and deploy managed package using the migration tool? If yes, then how is it different from downloading that package directly from ...
3
votes
2answers
69 views

Deploying SoftPhone layouts using Metadata API

Using the Metadata API/Force.com Ant Migration tool, how does one retrieve or deploy the SoftPhone Layouts for the Call Center? By SoftPhone Layout, I mean that which can be found at https://login....
2
votes
1answer
50 views

Not able to just deploy classes folder using Force Migration Tool

I am trying to deploy just classes folder as I am not able to deploy entire src folder because of size issue as mentioned in this post Here is the task I added in my build.xml: <target name="...
1
vote
1answer
130 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: /home/...
1
vote
1answer
30 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"?
4
votes
2answers
57 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 ...
1
vote
1answer
60 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
394 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
222 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
62 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 sf:...
2
votes
1answer
42 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
27 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 ...
2
votes
2answers
399 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
91 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
90 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 ...
3
votes
1answer
240 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> <enabled>...
0
votes
1answer
65 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 xmlns="http://soap.sforce.com/2006/04/...
1
vote
1answer
32 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
157 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
154 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
395 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
245 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
311 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
123 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
104 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 ...
5
votes
1answer
620 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
233 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 username="${sf....