How to create multiple fields in Salesforce using ANT tool?

1. Extract the object using the following package.xml

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Employee__c</members>
        <name>CustomObject</name>
    </types>
    <version>30.0</version>
</Package>

2. Create multiple fields like below in the Employee__c.object


3. Deploy the modified Employee__c.object.

Output:


Cheers!!!

No comments:

Post a Comment