Skip to content

Apex trigger sample code for geocoding and reverse geocoding a record on save or update

Notifications You must be signed in to change notification settings

thedges/Geocode-Trigger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Geocode-Trigger

THIS SOFTWARE IS COVERED BY THIS DISCLAIMER.

Sample trigger code to use for geocoding and reverse-geocoding a record. This code has not been bulkified and intent is to be used for single record insert/updates or small volume loads of data (10-20 records). This trigger code uses a utility library that makes REST calls to ESRI ArcGIS public server to do the gecoding and reverse-geocoding. Due to REST callout, the geocoding data is not inserted to object record until after insert or save as all logic is in @future method callout.

Dependency: Install the PSCommon package first

Deploy to Salesforce

About

Apex trigger sample code for geocoding and reverse geocoding a record on save or update

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published