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
Milan HrdlickaMilan Hrdlicka 

Geolocation data and their insert depending on event

Hi all,

I have a custom object "Shop" with address details - street name, street number 1, street number 2, postal code and city.
Along with these address details which are supposed to be entered manually or loaded from an extrenal data source there is also a custom field(s) "Geolocation" - what I need is Latitude and Longtitude details retrieved by using address details via Google Map Service.
Don't know how to retrieve these data.
Morever when all address details are entered the latitude and longtitude details should be filled automatically and saved at the same time along with all address and other details.
Sounds like a workflow rule or maybe before trigger with a class containing "mechanism" of retrieving data from Google Map Service?
Not sure how to do this - help on this will be much appreciated.
Milan