we have few requests in reporting modules that requires:

two letter country code instead of full name. e.g. United States should display as US. And I need separate field for that

What is the best way of doing this? Pick-list, formula(case)? We have 200+ records.

  • Do you know that you have access to country codes for standard fields in Salesforce? For example, if the field concerned is Account->BillingCountry, you can access the code using: Account->BillingCountryCode – Martin Lezer Aug 14 '17 at 13:12
  • Hi, sorry for late answer, still trying to figure this out. I know that there is an feature for standard objects, but we are using custom object/field. Time zone I can figure out trough user records, but for Custom object of Team Member which holds Country - I need a way to display 2 letter code for that country... I can write formula using Case but for 250 countries it wont compile... – Shubri Aug 15 '17 at 15:10
  • This is a standard field, so you can use the picklist and please follow the below link to do so. help.salesforce.com/… – Raghu Aug 16 '17 at 13:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.