Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 903 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 903 Bytes

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