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
0
votes
1answer
28 views

Can I retrieve an Email Alert via the Ant Migration Tool?

I wanted to retrieve an Email Alert via the Ant Migration Tool. However, I could not find it in a Metadata Types Reference. I suppose it's hidden under some other name like many other SF Metadata ...
3
votes
1answer
30 views

Deployment of metadata via REST vs old style SOAP deployment

So now it's possible to deploy metadata using Rest approach (vs old-school classic and heavy SOAP one): https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_rest_deploy.htm ...
0
votes
0answers
19 views

Ant Migration Tool - where to get a source code

We are trying to implement some additional logic on top of sf:deploy and other targets provided by Ant Migration Tool. But need to examine a source code of those targets to better understand what's ...
0
votes
1answer
20 views

ANT Migration Tool struggles

I performed a dress rehearsal into a Developer Pro sandbox using the sfdx force:source:deploy command successfully. Now that I'm trying to use the same source metadata with ANT migration tool & ...
0
votes
2answers
35 views

How to get test coverage of org while running validation jobs?

In our CI process, we trigger a job for validation in Jenkins and have an ant target which runs the validation first with checkOnly as true and runs all the tests. build.xml : <target name="...
0
votes
1answer
68 views

While retrieving or deploying Data using Ant Migration tool Error As java.io.IOException: Access is denied

I am unable to retrieve Code Using Ant Migration Tool. By using Command: ant retrieve code, Gettig an Error As java.io.IOException: Access is denied. Attaching CMD Error Screen.` C:\Program Files\...
0
votes
1answer
42 views

Trouble retrieving package.xml components using ant

I am running into the error "Invalid username, password, security token; or user locked out" when I try to retrieve the components using a package.xml. I am trying to retrieve all the Apex classes ...
6
votes
2answers
2k views

How do I retrieve Lightning Web Components using Ant Migration tool or mdapi:retrieve command from SFDX?

This is not clear or obvious how can anyone retrieve Lightning Web Components using Ant Migration tool or mdapi:retrieve command from SFDX? What is appropriate metadata API component which ...
1
vote
2answers
71 views

How can we skip the some records through SOQL

I am retrieving attachments through jitter bit SOQL query, but my all records are not retrieving through in the bulk so I have set the limit of 1000 but when I have download next 1000 records how can ...
0
votes
2answers
56 views

Prevent users from logging in during production delivery

We will delivery in our production org and we want to avoid users to log while the time of reconfiguration and delivery. It is recommended to modify Login Hours but we have a lot of profile to ...
0
votes
1answer
26 views

I have moved account data through data loader but Attachments files is not showing

I have moved account records through data loader, but all attachments, files, record type are not showing in my target org, only account name and some other fields are showing. Can you please help me ...
1
vote
1answer
56 views

transfer certificate Self-Signed between 2 sandboxes

I'm looking for a way to migrate certificate Self-Signed between two unbound sandboxes. I saw that certificate are not metadata, so it's a bit harder than expected for me.
0
votes
1answer
117 views

Picklist value not retrieve through force IDE

I am trying to deployed opportunity record type and business process but it is showing the error : File Name: objects/Opportunity.object Full Name: Opportunity.Third Party Fee Page Action: ...
0
votes
1answer
61 views

Can't retrieve non-customizable CustomObject named: Product

Using the ANT migration tool I am able to port all my Standard and Custom objects except for product My sample package.xml : <types> <members>*</members> <members>...
0
votes
1answer
124 views

Salesforce -Moving metadata showing error at the time of deploy

I am trying to move metadata through ANT tool, data also retrieved but at the time of deploying the data to another sandbox it is showing error like : All Component Failures: triggers/...
0
votes
1answer
38 views

Why am I Seeing Summer 2016 API errors with the Summer 18 version of the Salesforce Migration Tool?

I am trying to download the latest version of the force.com migration tool (sometimes called the ANT migration tool.) The download page seems to link to the Summer 2016 version of the tool (see ...
1
vote
1answer
141 views

Ant Problem deploying field on custom metadata type

I am trying to deploy a field on a custom metadata type using Ant. Here's my package.xml: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> ...
0
votes
2answers
83 views

How can I migrate data and related data from one org to another org?

I have a requirement to migrate data and I have a lot of related data, records and relationships to maintain. Is there a utility or tool to help me do this to minimize the amount of manual steps I ...
1
vote
1answer
39 views

Production issues handling and data sync to downstream salesforce environment

I want to know how you are handling with below business case. How are you copying production data to the downstream environment, i e test, production support etc.. ?(I have 20 plus objects with ...
0
votes
1answer
724 views

LIMIT EXCEEDED during ANT retrieve call

I am trying to retrieve metadata from Salesforce using ANT retrieve but it goes in timeout and I get the following error message when I restart it: (Error: Retrieve failed: {"done":"true","...
0
votes
1answer
22 views

Rename “Report Type” label and name and migrate to Salesforce production instance

As a part of CI/CD pipelin we have following 1. A sandbox where we develop with a branch on bitbucket. 2. A branch and a sandbox for QA. 3. A master branch for holding production box metadata. 4. A ...
3
votes
1answer
54 views

why is undeploy triggering all the apex test in production

I am using the ant migration tool. And this have never happened till today. The ant target to delete looks like <target name="undeployCode"> <sf:deploy username="${sfdc.username}" ...
0
votes
1answer
218 views

ANT Migration to add namespace to packaging org? [closed]

I have two dev org one where I did code and other is packaging org where I have to create a managed package. How can I configure ANT tool with build.xml and build.properties files to add the ...
2
votes
1answer
164 views

How do I migrate Process Automation Settings -> Enable record locking and unlocking using ANT Migration Tool or ChangeSet or Metadata API

How do I migrate setting Process Automation Settings -> Enable record locking and unlocking using ANT Migration Tool or ChangeSet or Metadata API? We need to migrate checkbox checked in settings ...
2
votes
1answer
1k views

Retrieve/Deploy a custom metadata type's list view?

I'm trying to deploy a list view for a custom metadata type using the Force.com Migration Tool, but I am unable to locate the ListView to include in my package.xml retrieve. I have deployed many ...
0
votes
2answers
444 views

What is the sequence of migrating data from one Salesforce to another Salesforce org

I want to transfer all my data from one Salesfoce org to another Salesforce org. Kindly let me know sequence of data import. What object's data shoud i import first?
3
votes
2answers
827 views

Summer18: Test only deployment cannot insert a new Master-Detail field

Today SF has just pushed Summer18 (api version 43) to our sandboxes. And now when our CI process is trying to validate code from branch against empty SF org, it throws bunch of same error messages ...
1
vote
0answers
82 views

Dealing with different user permissions in different orgs when deploying profiles

I am trying to add profiles to our repository and use that to deploy to different orgs. The problem I'm dealing with is that each org has different user permissions and a user permission may work in ...
1
vote
1answer
524 views

What is the best way to mass update the field labels of a custom object in Salesforce?

I have a requirement to update the field labels of 200 fields in a custom object and mass delete another 100 fields. what is the most time efficient way to accomplish this? I read a post that said ...
1
vote
1answer
1k views

Ant migration tool failing to retrieve process builder flows using sf:retrieve command

I am trying to retrieve Process builder flows from sandbox org using Ant migration tool and it is failing to retrieve flows with this message : [sf:retrieve] package.xml - Entity of type 'Flow' ...
0
votes
1answer
45 views

Deployment error with Permission sets

I have 2 permission sets and when i try to deploy to another sandbox, i get the below error Error Message Process_Builder_Permission Permission Set 0 0 Permission View All Data depends on ...
2
votes
1answer
187 views

Ant migration tool edits package.xml?

When I run the ant migration tool, it is editing my package.xml file. Weirdly, all it is doing is re-arranging it -- moving tags around -- but it concerns me because it doesn't seem like running the ...
1
vote
0answers
17 views

Ant Migration Tool - Only show test names in log

I'm setting up a CI/CD workflow for Salesforce using Jenkins and the Ant Migration Tool. I'd like to be able to quickly glance at the console output and/or log and see the names of tests that are ...
5
votes
0answers
61 views

Why is deployment taking almost 40mins?

I am using the ant migration tool to deploy. The version used in the package.xml is 39. And i am not triggering any test execution, as i am deploying in a sandbox. What can be the reason that the ...
2
votes
4answers
122 views

How to get dependent classes for a trigger?

we are working on a migration from salesforce to salesforce. We have bought one new production instance. We want to migrate selected objects and their trigger and trigger dependent classes and the ...
2
votes
0answers
47 views

Can't pull Lightning Dashboards with Salesforce DX or FMT

I have a Salesforce DX project containing multiple dashboards in the same folder. Some of the dashboards are classic dashboards and others are lightning dashboards. However, whenever I pull the ...
2
votes
1answer
123 views

ANT migration tool - fail to deploy to sandbox

When I use ANT to deploy to sandbox, I got the following two errors: API Name Type Line Column Error Message Custom System Administrator Profile ...
0
votes
1answer
49 views

How to retrieve and deploy metadata created by inactive users?

When I'm trying to retrieve metadata (using ANT migration tool) that is created by a user that is currently inactive I get errors like below: [sf:retrieve] package.xml - Entity of type 'ListView' ...
0
votes
1answer
271 views

Jenkins Build Failure

I'm receiving this error when trying to run a Jenkins Job. The file configuration seems to be valid. What steps should I take to troublshoot this issue? Problem: failed to create task or type antlib:...
0
votes
0answers
31 views

Versioning project on github

I'm trying to store my project on github using Force.com IDE Tool (ant). I have created a new command to store my project on github defining it in the build.xml file: <macrodef name = "git"> ...
0
votes
1answer
167 views

Deployment error - Unknown user permission

I could not deploy profile that contain ManageConnectedApps permission, via ant migration tool Below is the XML version <userPermissions> <enabled>false</enabled> <name&...
0
votes
1answer
200 views

Force.com migration tool is not working after git auto packing repository

I am using git and force.com migration tool for deploying code into sandbox. It was working correctly for many days (including todays morning) until git automatically started to 'Auto packing the ...
1
vote
1answer
50 views

Metadata api - pulls in components have encoded character that fails the deployment

So i am pulling in changes (sf:retrieve) from a sandbox using the SF migration tool. And while doing so, a custom field of type picklist, that have a value Not Appointed/Open is getting encoded. So ...
2
votes
1answer
2k views

How do I migrate default home flexi page assignment from one organization to another using ANT Migration Tool?

I have FlexiPage Home_Page_Default.flexipage assigned as Default Home Lightning Page for all profiles in one sandbox. I need to migrate it to another sandbox and assign as Default Home Lightning Page ...
0
votes
2answers
790 views

How to upload a zip file as a Static Resource via Migration Tool

Problem: I am trying to upload a zip file that contains js files, images, etc. as a Static Resource so that I can reference it in a VF page. I am able to successfully deploy the file using the Ant ...
1
vote
0answers
221 views

How to deploy unmanaged package using the ANT Migration Tool

We are trying to deploy an unmanaged package we are developing within a Developer org to a separate sandbox using the ANT Migration Tool. Im using the following to retrieve the package... <target ...
3
votes
1answer
477 views

Workbench is down. Any good alternatives for preparing package.xml?

Workbench is down today due to an expired SSL Certificate. I have become so dependent on using Workbench to retrieve the Metadata API names to include in my Migration Tool's xml package manifest that ...
1
vote
1answer
367 views

How to Deploy Search Layout Containing Custom Fields

I'm trying to deploy a PricebookEntry object containing a SearchLayout which contains standard and custom fields however I'm having issues when I include a custom field. The following is what ...
0
votes
1answer
69 views

java.lang.VerifyError: (class: com/salesforce/ant/SFDCAntTask, method: doLogin signature: ()Lcom/sforce/soap/partner/LoginResult;)

C:\Users\rajiv\Downloads\salesforce_ant_40.0\sample\build.xml:14: java.lang.VerifyError: (class: com/salesforce/ant/SFDCAntTask, method: doLogin signature: ()Lcom/sforce/soap/partner/LoginResult;) ...
0
votes
2answers
324 views

Even with sf migration tool 40.0 version getting error sf:deploy does not support the “test Level” attribute

I have setup force.com migration tool with 40.0 version and java version "1.8.0_40" and Apache Ant(TM) version 1.9.4 compiled on April 29 2014 on my local machine. When i try to deploy the changes ...