How to move record types using Apache ANT tool in Salesforce?

1. Execute the below Query in


SELECT sObjectType, DeveloperName FROM RecordType

2. Copy the result in an excel file.

3. Use Concatenate excel function to create like below


4. Copy all the concatenated SobjectName.DeveloperName in the package.xml like below

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="">


5. Retrieve and then deploy.


No comments:

Post a Comment