How to display country code as country name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2022 02:06 AM - edited 11-22-2022 02:07 AM
I have a country field in 'ABC' case form, Based on account field in that form , the country field is displaying the value for ex: DE , but i have to achieve this as Germany , i.e., when account is selected , the country field should display as Germany instead of DE.
Basically the country field is dot-walked from form layout,,--> account.country
When checking on configure dictionary , the table name is core_company
When i click on show country field: These are the below info
Table: sn_customerservice_case
Field :account
Type: reference
Reference: customer_account
Reference Qual :new global.GenericUtils().getContactAccounts(current.contact.user_name );
Max Length : 32
How to achieve this with client script , i.e.., make the country field display country name instead of country code?
Thanks in advance!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 11:57 PM
Hello,
You can go to Configure --> Form layout and remove the country field and add Country.name field on form.
This is reference field so it will auto populate the data.