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
Janardhanan J 1Janardhanan J 1 

Get Country Picklist Integration values

How do i retrieve Country picklist integration value using metadata API. could anyone help with the package xml needed to retrieve that?
Unable to use the Country field on any sobject. Not sure what name and member should i use - AddressSettings or CountryAndState or Countries/Country?
SandhyaSandhya (Salesforce Developers) 
Hi,

In the Metadata API, Name and Integration Value fields are called label and integrationValue, respectively.
Did you refer beloe salesforce help article.

https://help.salesforce.com/articleView?id=admin_state_country_picklists_integ_values.htm&type=5

https://help.salesforce.com/articleView?id=admin_state_country_picklists_api.htm&type=5