Skip to main content
Hi,

 

Im wondering what is the best way to automatically convert a phone number entered on a Contact record to E. 164 format?

 

(+1XXXXXXXXX)

 

We have Salesforce integrations which pass phone numbers into Salesforce. So we would like an elegant solution that handles this conversion at the Salesforce end.

 

Just to clarify, I'm not looking for a validation rule here but automation that converts the phone number to the correct format.

 

Your help is appreciated!

 

Anand
2 件の回答
  1. 2019年9月3日 21:51
    f you are creating a custom field, there is a field type called "Phone" that automatically formats phone numbers for the US.  For international, you can enter them whatever way you wish, but if you enter the phone number and start with a "+" it will ignore the normal domestic formatting and just enter it as the number you type.

     

    https://help.salesforce.com/apex/HTViewHelpDoc?id=basics_understanding_values_curr_date_phone.htm&language=en_US
0/9000