Microsoft Dynamics 365(CRM) Tips and Tricks » Geocoding MS Dynamics CRM Datahttps://www.inogic.com/blog
By InogicTue, 14 Aug 2018 10:37:00 +0000en-UShourly1http://wordpress.org/?v=4.0How to make Geocode Workflow for Custom Entities in Dynamics CRM?https://www.inogic.com/blog/2016/06/how-to-geocode-workflow-for-custom-entities-in-dynamics-crm/
https://www.inogic.com/blog/2016/06/how-to-geocode-workflow-for-custom-entities-in-dynamics-crm/#commentsThu, 30 Jun 2016 10:47:33 +0000http://www.inogic.com/blog/?p=3185Read More »]]>Maplytics™ ships along with Geocoding workflows to Geocoding Dynamics CRM data with Bing Maps which are further used by Maplytics. We ship this workflow configured for Account, Lead and Contact entities. You can configure custom workflows and add a reference to the Maplytics Workflow assembly to geocode the addresses.

Steps to Configure Geo-coding Workflows for Custom Entities:

Design a new Workflow Process. For this Go → Settings → Processes and click on New button then, following window will open. Here, enter the process name, select category as Workflow, and select the Entity for which you want to design workflow.

Once you click on OK button, following window will open. Here, set the Scope as organization and in Start when: select “Record is created” and “Record fields change” For the “Record fields change” option, select all of the address fields to ensure the address is geo-coded when any of the address fields is changed as shown in below screenshot.

Then go to Add Step and select the Inogic.Maplytics.Geocoding (5.4.0.4) assembly as shown in below screenshot.

Then set the address parameter by clicking on Set Properties as shown in below screenshot for the workflow assembly.

Then go to Add Step and add Update Record step as shown in below screenshot.

In that select the same entity as the one for which the workflow is being configured and then click on Set Properties. Then the following window will open, here set the Latitude and Longitude to the output parameters returned by the workflow assembly as shown in below screenshot.

Here is the final screenshot of workflow after configuring.

Once you activate the workflow, it will be ready to get the Geolocation i.e latitude and longitude. The workflow will fire on creating and update of address fields and get latitude & longitude.

Note : If you wish to geocode milions of records in Dynamics CRM try this.