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
-1 votes
0 answers
21 views

IDX Workbench on macbook

I am having issues when fetching datapacks with idx workbench, it only is fetching omniscrpit, data raptor, integration procedures and flexcard folders that are in vlocity folder but other folders ...
merilai's user avatar
1 vote
0 answers
291 views

How to use loop to find related object using Pentaho Data Integration

I want to identify the bad/invalid records so that i can add in a separate SQL Table. For example, we have an account object. And i want to find bad accounts. But i need to apply some filters on ...
user122146's user avatar
0 votes
1 answer
62 views

Do triggers in salesforce have test class created by salesforce not by the developer?

I am using Ant Migration tool to deploy or retrieve my metadata in salesforce. I have a LeadTrigger that I fetch but when I was running the test before I deploy, I got the error that I didn't reach ...
raider123's user avatar
0 votes
1 answer
117 views

Installation steps for Salesforce ANT migration tool (apache ANT) on Linux machine

i need to install Apache ANT and Salesforce ANT migration tool on the Linux machine. I have downloaded both zip files and installed the java JDK 11 version. How can i set up the environment variables ...
anitha Kondreddy's user avatar
0 votes
1 answer
182 views

Salesforce to Salesforce data migration [closed]

I’m in the process of moving metadata and data from one source org to a new different target org. I’ve mostly completed moving all the metadata using ANT. I’ve moved some standalone tables of data ...
Dman100's user avatar
  • 2,415
0 votes
1 answer
126 views

ContentDocument migration between orgs

Is there any out of the box tool which can help or simplify migration of ContentDocuments to new environment? Custom object records are already migrated, external ids are used ContentDocumentLink is ...
Paweł Olchawa's user avatar
0 votes
1 answer
149 views

Object metadata deployment through workbench

While deploying object metadata of an org's backup using workbench to a new sandbox it is giving errors like "Cannot create a new component with the namespace: pse. Only components in the same ...
Amay's user avatar
  • 9
0 votes
1 answer
43 views

Is there a way to install remotely a Package in an Org?

I'm wondering if there is a way to install a Package in an Org but remotely, not by logging me into the Org itself. Let me give you an example. Let's suppose I have: Org A Org B Org C and I want to ...
Facundo Hernandez's user avatar
0 votes
0 answers
93 views

Not able to set up ANT Migration Tool

I am trying to set up the ANT Migration Tool on my Windows Laptop (Windows 10 64 bit). I have set the ANT_HOME, JAVA_HOME, and PATH but still, I am getting the error 'ant' is not recognized as an ...
Nirav Shah's user avatar
1 vote
1 answer
238 views

not able to migrate knowledge articles

I am trying to migrate Knowledge Article from source salesforce to destination salesforce environment. Source salesforce environment is classic while the destination is lightning. In order to start ...
Hunt's user avatar
  • 225
1 vote
1 answer
279 views

How can I export all my Salesforce Community data? [closed]

My team is currently attempting to migrate out of Salesforce Community, but we are having a really hard time figuring out how we could: Export all discussions Export all users The documentation for ...
georgebrindeiro's user avatar
0 votes
0 answers
1k views

How to bulk transfer reports from one .org to another .org?

My task is to upload all of the reports of an old .org to a completely new .org I found that it is possible to retrieve reports via .xml-files from an old .org and upload it to a new org via workbench....
Lekü's user avatar
  • 3
1 vote
0 answers
431 views

Deploy with BitBucket pipelines and ant migration tool - commit hash of last successful build

I am using ant migration tool in bitbucket pipelines to deploy metadata into Salesforce instance. This pipeline runs for every commit pushed to master branch. The build process takes a considerable ...
Isuru Buddhika Herath's user avatar
1 vote
2 answers
4k views

How can I insert records from one sandbox to another sandbox?

I have sandbox shared for my team and I have personal sandbox. How can I insert records sandbox shared for my team to my personal sandbox? I have required objects and fields. I don't need to insert ...
NickName43's user avatar
1 vote
1 answer
122 views

Ant Migration tool : Running a Subset of Tests in a Deployment

In the build.xml , is there a way to specify a list of test classes to be added for running on deployment from a external file instead of hard coding it in the build.xml https://developer.salesforce....
HSG's user avatar
  • 997
2 votes
1 answer
519 views

Metadata Migration Best Practices

What are good ways to migrate solutions from one environment to another? Packages? Is gitHub a solution and if yes, why ?
Giorgos Galaios's user avatar
0 votes
1 answer
373 views

Migration between 2 production orgs

I have the duty to migrate a production org into a new(fresh new) Salesforce org, only metadata wise. That includes custom objects, customization to standard objects, proccess builders, approval ...
Matías Quintana's user avatar
1 vote
1 answer
126 views

Lightning Knowledge Migration - No primary custom field found

I am trying to get my lightning Articles migrated from classic to lighting. Now I am trying to use the Lightning Knowledge Migration assistant to migrate the articles. I received the below error. ...
SF Dev's user avatar
  • 89
1 vote
1 answer
785 views

Deployment of destructive changes to production and tests execution

We need to remove trigger and apex test class for it from production org. We've already put together destructiveChanges.xml and are going to deploy it to prod org via ant migration tool. The question ...
wesaw's user avatar
  • 2,980
0 votes
1 answer
196 views

How to enforce code coverage using Salesforce Migration Tool (Ant) whilst targeting a sandbox?

I am preparing an Ant package to move code to production. However, many of the existing orgs tests are very out of date and are failing. At this point, my only option is to select tests that cover the ...
Swisher Sweet's user avatar
0 votes
1 answer
347 views

ANT Migration Tool deployment error: "Bad file: XML document structures must start and end within the same entity"

I know what this error means, but the XML I'm deploying (below) was generated by the Migration Tool after running ant retrieve, and every XML validator I've tried says it's valid XML, without typos. ...
Brent Bowers's user avatar
  • 3,064
1 vote
2 answers
465 views

What happens when you deploy object using ANT and all fields from source to target Org?

On the object level - does it do a full replace? For example on the Account or custom object. On identical fields - does it do a full replace or does not deploy or create a duplicate field?
JsonNoob's user avatar
0 votes
1 answer
2k views

Moving changes from one organization to another

I have been working under an organization's salesforce instance for a little under a year now and have created custom objects, API endpoints, LWCs, and more. There has now been a a structural change ...
BlondeSwan's user avatar
  • 1,068
3 votes
2 answers
9k 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 ...
Przemysław Długoszewski-Tamoń's user avatar
5 votes
1 answer
768 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 ...
wesaw's user avatar
  • 2,980
0 votes
1 answer
584 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 & ...
Jay's user avatar
  • 207
0 votes
2 answers
572 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="...
Nagendra Singh's user avatar
0 votes
1 answer
812 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\...
Akhil Thanneru's user avatar
0 votes
1 answer
234 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 ...
Pradeep's user avatar
10 votes
3 answers
39k 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 ...
Patlatus's user avatar
  • 15.8k
1 vote
2 answers
784 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 ...
Dev bluCursor's user avatar
0 votes
3 answers
983 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 ...
Badbaxx's user avatar
  • 365
0 votes
1 answer
236 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 ...
Dev bluCursor's user avatar
1 vote
1 answer
380 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.
Badbaxx's user avatar
  • 365
0 votes
1 answer
1k 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: ...
Harshit's user avatar
0 votes
1 answer
665 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>...
compski's user avatar
  • 1,227
0 votes
1 answer
2k 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/...
Harshit's user avatar
0 votes
1 answer
47 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 ...
Nic's user avatar
  • 103
1 vote
1 answer
2k 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"> ...
Arthlete's user avatar
  • 4,793
0 votes
4 answers
7k 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 ...
user58's user avatar
  • 5
1 vote
1 answer
192 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 ...
mouli kommineni's user avatar
3 votes
1 answer
3k 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","...
TheAdmin's user avatar
  • 335
0 votes
1 answer
444 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 ...
ricky gupta's user avatar
4 votes
1 answer
146 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}" ...
OK999's user avatar
  • 447
0 votes
1 answer
492 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 ...
Jaymin Suthar's user avatar
2 votes
2 answers
1k 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 ...
Patlatus's user avatar
  • 15.8k
4 votes
2 answers
22k 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 ...
Brent Bowers's user avatar
  • 3,064
0 votes
3 answers
2k 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?
Russel baker 1's user avatar
3 votes
2 answers
2k 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 ...
wesaw's user avatar
  • 2,980
1 vote
0 answers
260 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 ...
Jorjani's user avatar
  • 2,192

1
2 3 4 5 6