function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dbyrddbyrd 

Using a Partner ID with Salesforce ANT

 We have figured out how to retrieve Custom field Metadata and Deploy it to Enterprise level customers.  However we have a few Professional customers that we received the following message “API_DISABLED_FOR_ORG: API is not enabled for this Organization or Partner” which we typically then use our Partner ID  to logon in through Workbench, Apex Explorer or using Pervasive.  However we are trying to use the Salesforce ANT Migration Tool and not sure how to code the Partner ID into the Build Properties.

Could you let me know if this is possible?  

Thank you

David Byrd

# build.properties
#
# Specify the login credentials for the desired Salesforce organization
sf.username = XXX@YYY
sf.password = PWD
#sf.zipFile = <Insert path of the zipfile to be retrieved>
# Use 'https://www.salesforce.com' for production or developer edition (the default if not specified).
# Use 'https://test.salesforce.com for sandbox.
sf.serverurl = https://www.salesforce.com <https://www.salesforce.com>
# If your network requires an HTTP proxy, see http://ant.apache.org/manual/proxy.html <http://ant.apache.org/manual/proxy.html> for configuration.

A_SmithA_Smith
Hi David,

It is not possible to use the partner ID with the metadata API (used by ANT tool). I'd suggest posting an idea on the IdeaExchange.

Thanks,