You need to sign in to do that
Don't have an account?
Claiborne
Default Address Field Lengths?
In salesforce.com, several entities (contact, account, lead, etc.) have one or more "address" fields. When you look at the wsdl, you can see that the "address" is actually comprised of several fields - street1, street2, street3, city, state/province, postal code, and country.
The problem is that the wsdl does not tell you the maximum field lengths for the various components. During some importing, I have discovered that the city field can only be 40 characters. Short of running a series of tests, can anyone provide the limits on the various fields that make up an address.
It is the sort of thing that should be published somewhere.
Possible work-arounds . . .
- Add a custom City field that allows more characters.
- Somehow include the long city name as part of the multiple line 255-character text area used for Street Address.
For those interested in addresses, it is on the "road map" to allow adding the a standard address field type (with Street, City, State, Country, and Postal Code sub fields) as a custom field to custom objects and to standard objects for multiple addresses. According to this - https://trailblazer.salesforce.com/ideaView?id=08730000000BrVWAA0, it will be GA in the Spring 22 release, available now in preview.