Is there a way to grab only the field names of custom objects using the ANT Migration Tool? I'm able to grab information about the members of Custom Objects themselves from my package.xml file, but I'm trying to filter it down to grabbing only the custom fieldnames or the <fullName>
tags.
Here's my package.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Account</members>
<members>Opportunity</members>
<members>Contact</members>
<name>CustomObject</name>
</types>
<version>41.0</version>
</Package>
Maybe something like this?
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Account</members>
<members>Opportunity</members>
<members>Contact</members>
<name>CustomField</name>
<name>CustomObject</name>
</types>
<version>41.0</version>
</Package>
simple_salesforce
just by calling the Describe API.