7

I'm wanting to use the BillingLatitude and BillingLongitude fields attached to my Account object in a workflow rule, but I can't seem to get them to work. I pulled an export via Data Loader of the fields, and they all seem to be blank.

Are these not populated automatically based on the address fields at the same time the Google Map is generated?

If not, how do you go about storing this data?

6

Update via Mark Pond for Summer '16:

Automatically Get Geocodes for Addresses (Generally Available)

you can set up and activate the geocode clean rules for your org. Then, geocodes are added for addresses on existing and new accounts, contacts, and leads.


No, they aren't populated automatically when the other address fields are populated. You would need to use a third party service to translate the street address into Geolocation coordinates.

The Google Map control will be doing location lookup for you based on the street address.

You could potentially use the Google Geocoding API to do the conversion and then set the BillingLatitude and BillingLongitude fields. See https://developers.google.com/maps/documentation/geocoding/

I've also had several clients use https://webview.webservices.nl/documentation/files/service_geolocation-php.html

In Geolocation Field Types in Salesforce1 Platform the following appears:

Geolocation fields are useful only once they are geocoded (populated with latitude and longitude data). Address fields can be geocoded using services from Google, Nokia, ESRI, and other sources. However, Salesforce will be rolling out a geocoding service to our customers in the future. (Naturally, Safe Harbor applies.)

Maybe ask your account executive if you can get on a pilot program for geocoding (assuming such a thing exists).

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.