Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
29 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
48 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 ...
5
votes
2answers
1k 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
68 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
54 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
25 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
52 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
95 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
44 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
96 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
36 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
115 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
69 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
37 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
550 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
19 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
47 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
194 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 ...
0
votes
0answers
31 views

How do I migrate setting Account Settings > Allow users to relate a contact to multiple accounts by ANT Migration Tool?

How do I migrate setting Account Settings > Allow users to relate a contact to multiple accounts by ANT Migration Tool? I guess these settings should be either in Account.settings or in ...
2
votes
1answer
139 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
386 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
796 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
71 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
425 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
962 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
43 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
158 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
16 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
60 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
113 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
46 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
113 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
46 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
213 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
143 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
191 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
48 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
1k 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
666 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
205 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
457 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
317 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
68 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
306 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 ...
0
votes
1answer
71 views

Remove/Replace Unwanted Components using Atlassian Bamboo [closed]

I'm using Atlassian bamboo to automate deployments but there are some deployment errors like. Is there anyway to update build.xml to remove this unwanted components: workflows/Question.workflow — ...
1
vote
0answers
134 views

Force Migration Tool/Layout: Field must not be Required

We ran into an issue last week. It appears that something has changed in our Full sandbox that we can no longer deploy. Error: Field:AccountId must not be Required <?xml version="1.0" encoding="...
1
vote
0answers
53 views

Fields of an Object retrieved using Ant has <encrypted> property

I retrieved an object using ant tool using retrieveUnpackaged command.I retrieved this from a higher environment of my project.. say the SIT environment(Full Sandbox). On looking at the fields( text ...