How i integrate bing map with my crm organisation and like there is already address in account entity so in that bing map it will locate or navigate that address?
*This post is locked for comments
Hi Shakti,
There’s an app called “Maplytics” available on Microsoft AppSource which could help you in the required integration. This app is an all-inclusive, 5-star rated app that is popular for the seamless integration of Bing Maps with Microsoft Dynamics 365 CRM, both on and off the premises.
Below are a few key features of Maplytics:
You can explore more about Maplytics from our website and further evaluate our solution from AppSource.
Once you install the Maplytics solution, kindly refer to our docs for further evaluation.
In case of any further queries or concerns, please feel free to reach out to us at crm@inogic.com
Hope this helps.
Thanks!
You can install Maplytics which uses Bing map to geocode the addresses of the CRM records and add the Latitude & Longitude values to the records. The geocoding workflow or the Batch processing tool will help you easily geocode the existing records and the newly created or updated records will get automatically geocoded. You can further plot the records on the map on Desktop or Mobile/Tablets and create routes and navigate yourself with turn-by-turn directions.
Thanks!
Hello,
If you want to view or manage Custom Entity records on Bing Map, then you can use Microsoft Certified AppJetty's Quick Maps Plugin. It is also available on Microsoft AppSource. You can take a demo from https://www.appjetty.com/dynamicscrm-quick-maps.htm.
This is my bing map custom code, so now what should do?
<!DOCTYPE html>
<html>
<head>
<title>birdseyeV2HTML</title>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<script type="text/javascript" src="ajax.googleapis.com/.../jquery.min.js"></script>
</head>
<body>
<div id='printoutPanel'></div>
<div id='myMap' style='width: 100vw; height: 100vh;'></div>
<script type='text/javascript'>
var key = "Key";
function loadMapScenario() {
//var navigationBarMode = Microsoft.Maps.NavigationBarMode;
var name = window.parent.Xrm.Page.getAttribute("name").getValue();
var address1_line1 = window.parent.Xrm.Page.getAttribute("address1_line1").getValue();
var address1_line2 = window.parent.Xrm.Page.getAttribute("address1_line2").getValue();
var address1_line3 = window.parent.Xrm.Page.getAttribute("address1_line3").getValue();
var address1_city = window.parent.Xrm.Page.getAttribute("address1_city").getValue();
var address1_stateorprovince = window.parent.Xrm.Page.getAttribute("address1_stateorprovince").getValue();
var address1_postalcode = window.parent.Xrm.Page.getAttribute("address1_postalcode").getValue();
var address1_country = window.parent.Xrm.Page.getAttribute("address1_country").getValue();
var url = "dev.virtualearth.net/.../Locations; + address1_country + "&adminDistrict=" + address1_stateorprovince + "&locality=" + address1_city + "&postalCode=" + address1_postalcode + "&addressLine=" + address1_line1 + " " + address1_line2 + " " + address1_line3 + "&key=" + key;
$.getJSON(url, function (result) {
if (result.resourceSets[0].estimatedTotal > 0) {
var loc = result.resourceSets[0].resources[0].point.coordinates;
var map = new Microsoft.Maps.Map(document.getElementById('myMap'), {
//navigationBarMode: navigationBarMode.compact,
center: new Microsoft.Maps.Location(loc[0], loc[1]), zoom: 9
, mapTypeId: Microsoft.Maps.MapTypeId.road
});
map.setOptions({
showCurrentAddress: false,
showExitButton: false,
showHeadingCompass: false,
showLocateMeButton: false,
showMapTypeSelector: false,
showZoomButtons: false });
var pushpin = new Microsoft.Maps.Pushpin(new Microsoft.Maps.Location(loc[0], loc[1]), { title: address1_line1 + " " + address1_city + " " + address1_stateorprovince + " " + address1_postalcode + " " + address1_country });
map.entities.push(pushpin);
}
});
}
</script>
<script type='text/javascript' src='www.bing.com/.../mapcontrol;callback=loadMapScenario' async defer></script>
</body>
</html>
Thanks Michel
Can u send that custom web resource of bing map which is able to search according to entity address and if in address city is missing then it will not show in pushpin as null, it will search according to the remaining address?
Hello,
What are you trying to do exactly? Are you missing a function in the out-of-the-box Bing Maps component?
Creating a custom integration requires more effort and will require you to create to create a custom WebResource HTML page and include that as an element on your Form.
Inside the HTML page you would need a JavaScript action that reads information from the Form on which it is being called and passes it to Bing Maps.
Retrieve the value from the first address field with this line of JavaScript, called inside your WebResource HTML page:
var address1 = parent.Xrm.Page.getAttribute("address1_composite").getValue();
Thanks Rajkumar and Michel
if i implement bing map using webresources then how i integrate the account address with bing map
Hello,
On the Account, Contact and Lead entity forms there is a Bing Maps components.
The address you enter into the first address field will automatically be relayed to Bing Maps (if enabled) and it will display the location on the map below the actual address.
Clicking on the marker inside of the map component will pop-up Bing Maps, where you can use their navigation functionality.
You can enable Bing Maps in the System Settings
1. Go to Settings > Administration > System Settings
2. On the General tab, scroll down to Enable Bing Maps > Show Bing Maps on forms, and then select Yes or No.
Refer this:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156