Hello there,
Is there an easy way to batch update contact geolocations? Or do we need to develop something custom?
Regards
Hello there,
Is there an easy way to batch update contact geolocations? Or do we need to develop something custom?
Regards
Hi Søren,
We do not have a feature that allows you to bulk update locations. Other than the UI button to update the one user or user group, there is an API that you can call to update the user's address directly, Dynamicweb.Security.SystemTools.Maps.SetGeolocationFromGoogleMaps(User user, [bool force = false]). If a custom location was already set on the user, force will allow you to overwrite that. It uses the Google Maps service, so you may need to provide some credentials for that to work for a larger quantity of addresses. You can enter those here: Settings -> Control Panel -> Maps. Be aware that it's still just one user at a time, so it'll probably be a slow process.
- Jeppe
You must be logged in to post in the forum