Questions tagged [migration-tool]

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.

Filter by
Sorted by
Tagged with
4
votes
3answers
475 views

Retrieve all records for a single CustomMetaDataType using ant

I'm trying to use the ant migration tool to retrieve all the Custom Metadata records for a single Custom Metadata Type. However, I can't figure out the syntax. I would think that something like this ...
3
votes
1answer
874 views

“Entity type: 'Folder' is unknown” when deploying with the Force.com Migration Tool

The Force.com Migration Tool throws the error Entity type: 'Folder' is unknown when attempting to deploy with the following build.xml file. As far as I know, one should be able to retrieve/deploy ...
6
votes
1answer
1k views

Lightning Community Builder: Can I move (ChangeSet/Migration Tool?) a PAGE from Sandbox Community to Production?

Okay so, I know that I can use the Migration Tool to pull down Lightning Components from my sandbox, and then use the same tool to upload them to production, but so far I have had no luck in moving a ...
0
votes
1answer
42 views

cloning development org

I am trying to clone one developer org to another using salesforce migration tool and ANT. Mailchimp 1.66 is installed on my source org and the same I installed on my target org before deploying now ...
0
votes
1answer
1k views

Using Ant Migration tool , No custom object deployed

I am using Ant migration tool to deploy some custom objects from one org ro another. Below is my package.xml: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/...
0
votes
1answer
44 views

DreamFactory- How to change default assest storing path in DF

I am not able to figure out where DreamFactory is storing all assets on System. Is there any way we can change that.
0
votes
1answer
609 views

How to delete Installed packages using ANT?

I'm trying to uninstall/delete packages from my salesforce org using ANT (Since there are lot of dependencies) how can I achieve this? When I run ant undeployCode or undeploypackage it shows "...
4
votes
2answers
3k views

How to migrate profile settings from one developer org to another developer org?

We have several developer orgs that are created for developers on our team. They are all developer editions and are independent from each other other than deployments through Jenkins. We have ...
0
votes
1answer
133 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
82 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="...
2
votes
1answer
3k 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 ...
1
vote
1answer
4k 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
1k 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> <...
2
votes
1answer
813 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
424 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 ...
2
votes
1answer
449 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
104 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....
2
votes
1answer
525 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"/> ...
1
vote
2answers
731 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
1k 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 ...
2
votes
1answer
2k 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
2answers
318 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
4k 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 : ...
8
votes
3answers
2k 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
216 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
354 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
62 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
814 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
1answer
307 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: Managed ...
0
votes
2answers
64 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
498 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
432 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="...
3
votes
1answer
2k 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
2answers
2k 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
2answers
235 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
2k 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 following: ...
4
votes
1answer
3k 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
3k views

Retrieving an Email folder using ANT [closed]

Can anyone post the correct XML for retrieving an Email folder using ANT? Thx.
3
votes
1answer
2k 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
185 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
46 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 ...
9
votes
3answers
10k 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 way ...
1
vote
0answers
23 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 ...
8
votes
2answers
4k 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 ...
6
votes
1answer
1k 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 ...
4
votes
1answer
3k 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>...
5
votes
1answer
3k 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
498 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
672 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 ...
2
votes
2answers
3k 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 > ...