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
0answers
20 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
109 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
38 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
21 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
30 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
33 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
31 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 ...
1
vote
1answer
18 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
39 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
40 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
36 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
0answers
26 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
82 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
42 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
33 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
23 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
40 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
43 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
56 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
31 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
65 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 ...
2
votes
1answer
44 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 ...
1
vote
1answer
103 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
24 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
1answer
43 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
50 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
328 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
137 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
48 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
30 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
26 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
259 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
76 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
84 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
191 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
46 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
25 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
139 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
119 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
295 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
204 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
265 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
97 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
96 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 ...
3
votes
1answer
490 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
193 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
109 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
15 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) : ...