function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ServiceObjectsServiceObjects 

.Net Lead Geocoding

We have created a C# example for appending latitude and longitude to a lead within Sforce through the Sforce API. This example uses our geocoder web service to lookup lat/lon information at the street level. The example runs as an external process now, Iâ¬?m sure someone will re-write it be called from within Sforce. 

Once you have the lat/lon information for each lead you can easily plot it with the Google Maps API. You can use the lat/lon data to map the distribution of leads in region. 

This is our first �contact� enhancement example for Sforce. We will attempt to build new examples for address validation, phone number validation, email validation, and more. Your feedback is welcome.

 We look forward to working with you all.

 Happy Programming,
Geoff Grow
geoff@serviceobjects.com

Download sample code for geocoding within SForce here.
https://www.serviceobjects.com/examples/salesforce/geocode.zip

 Our Web site:
http://www.serviceobjects.com/

DevAngelDevAngel

Hi Jeff,

Thanks for the great sample code!