<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>State &amp; Country &#8211; Jitendra Zaa</title>
	<atom:link href="https://www.jitendrazaa.com/blog/tag/state-country/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.jitendrazaa.com/blog</link>
	<description>AI, Salesforce, ServiceNow &#38; Enterprise Tech Guides</description>
	<lastBuildDate>Wed, 29 Mar 2017 22:08:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">87744916</site><atom:link rel="search" type="application/opensearchdescription+xml" title="Search Jitendra Zaa" href="https://www.jitendrazaa.com/blog/wp-json/opensearch/1.1/document" />	<item>
		<title>State &#038; Country picklist in Salesforce supporting Alpha-3 ISO code</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/state-country-picklist-in-salesforce-supporting-alpha-3-iso-code/</link>
					<comments>https://www.jitendrazaa.com/blog/salesforce/state-country-picklist-in-salesforce-supporting-alpha-3-iso-code/#respond</comments>
		
		<dc:creator><![CDATA[Jitendra]]></dc:creator>
		<pubDate>Wed, 22 Mar 2017 04:18:46 +0000</pubDate>
				<category><![CDATA[Salesforce]]></category>
		<category><![CDATA[State & Country]]></category>
		<guid isPermaLink="false">http://www.jitendrazaa.com/blog/?p=5949</guid>

					<description><![CDATA[How to use Integration Value in State &#038; Country picklist in Salesforce]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Recently there was an interesting requirement in using <strong>State &amp; Country picklist of Salesforce</strong>. Salesforce saves ISO code of State &amp; Country picklist in Alpha-2 format however external system connecting to Salesforce needed Alpha-3 format.</p>
<p style="text-align: justify;">There has been <a href="https://success.salesforce.com/ideaView?id=08730000000keCJAAY">already an Idea on Idea Exchange</a> created around 4 year back to support the Alpha-3 format however doesn&#8217;t seems much progress from Salesforce product team.</p>
<p style="text-align: justify;">Anyways, there could be multiple way to handle this like, Maintaining Custom Setting , <a href="https://www.jitendrazaa.com/blog/tag/custom-metadata-types/">Custom metadata </a> or Custom object for mapping between ISO Alpha-2 and Alpha 3 and use trigger to populate custom ISO field on Account or Contact.</p>
<p style="text-align: justify;">While going through <a href="https://resources.docs.salesforce.com/202/latest/en-us/sfdc/pdf/state_country_picklists_impl_guide.pdf">implementation guide</a> of <strong>State &amp; Country picklist</strong>,  there was mention of <strong>Integration Value </strong>setting, which could be used to store the ISO Aplha-3 code. To see this option, navigate to &#8220;<em>Setup | Data Management | State and Country/Territory Picklists | Configure States and Countries and Territories | country name | Edit&#8221; . </em>Below image shows the setting</p>
<figure id="attachment_5950" aria-describedby="caption-attachment-5950" style="width: 840px" class="wp-caption aligncenter"><a href="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2017/03/State-Country-Picklist-in-Salesforce.png?ssl=1"><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="size-large wp-image-5950" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2017/03/State-Country-Picklist-in-Salesforce.png?resize=840%2C245&#038;ssl=1" alt="State &amp; Country Picklist in Salesforce" width="840" height="245" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2017/03/State-Country-Picklist-in-Salesforce.png?resize=1024%2C299&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2017/03/State-Country-Picklist-in-Salesforce.png?resize=300%2C88&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2017/03/State-Country-Picklist-in-Salesforce.png?resize=768%2C224&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2017/03/State-Country-Picklist-in-Salesforce.png?resize=1200%2C351&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2017/03/State-Country-Picklist-in-Salesforce.png?w=1259&amp;ssl=1 1259w" sizes="(max-width: 840px) 100vw, 840px" /></a><figcaption id="caption-attachment-5950" class="wp-caption-text">State &amp; Country Picklist in Salesforce</figcaption></figure>
<p><span id="more-5949"></span></p>
<h3>Impact of using Integration Value on State &amp; Country picklist</h3>
<p style="text-align: justify;">On Standard page layouts, reports, list views and other places, we will still see country name, however at database (SOQL) level it would be stored as ISO alpha-3. That means, if you have Apex code written and trying to compare state or country with free text then it would not work. you would need to use ISO alpha-3 code.</p>
<p style="text-align: justify;">Below short video shows <strong>before and after impact of using integration value in State &amp; Country picklist</strong>.</p>
<p><iframe title="Before and After   Using Integration value in State and Country Picklist" width="500" height="281" src="https://www.youtube.com/embed/3-m-U8AfN4g?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p><strong>Moving changes of State &amp; Country picklist</strong></p>
<p style="text-align: justify;">We can use <a href="https://www.jitendrazaa.com/blog/tag/ant-migration-tool/">metadata API</a> to move changes from one org to another org instead of changing these values manually everywhere.</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.jitendrazaa.com/blog/salesforce/state-country-picklist-in-salesforce-supporting-alpha-3-iso-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5949</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.jitendrazaa.com @ 2026-07-10 09:19:37 by W3 Total Cache
-->