I was recently asked a question about how to show Bing Maps in Unified Service Desk(USD) for Microsoft Dynamics CRM. As always, I love answering questions! (Sorry this answer took a little while to create, I’ve been very busy lately.)

I have previously shown how to create a toolbar button to display Google maps. Should any crazy person feel the need to use any mapping tool other than Microsoft Bing! That might be worth looking at.

http://neilparkhurst.com/2015/11/27/usd-google-maps-using-context/

What is different about using Bing Maps is that they are already integrated with CRM. This does give them an immediate advantage over other mapping options! Once you have obtained a developer key and entered that in system settings your Bing Maps already show (out of the box) directly on CRM forms. Great. But when you click on a map in USD to load it full screen, depending on your window navigation rules it will either fail to load or will load in the current tab. Below you can see that my Bing Maps were loading but replaced the contact I had displayed. (With my navigation bar applicable to contacts still displayed.)

So not ideal, so what if you’d rather they loaded in a separate tab. Or maybe even a floating panel on a separate screen!

First of all, you’ll need a hosted control to load Bing Maps into, mine looked like the example below.USD component type is standard web application and then opted for MainPanel for my display group.

Tip:
If you’d like the maps to show on a separate screen try experimenting with the display group set to “FloatingPanel”.

Also notice that I set the display name of the hosted control to “Bing Maps([[$Context.adddress1_postalcode]+])”. This gave my tab a name that included the post code of the account or contact being viewed.

Next I needed a windows navigation rule, this will tell USD when / how to load my map into the hosted control we just created.

Things to notice include;

  • From. I left this blank as this rule applies to any entity that displays a Bing Map. Basically this means this same rule works for accounts and contacts.
  • url. www.bing.com/maps, this url is loaded when you click on any Bing Map.
  • Route Type, Popup
  • Action, Route Window
  • Destination, tab
  • Target Tab and Show Tab, both set to the hosted control we just created. “Bing Maps”

Now everything is in place you can see that my Bing Maps are loading in a separate tab. Much better!

 

Hopefully you will have found this post useful and will be adding a Bing Maps tab to your USD interface soon. J


Filed under: USD - Configuration Tagged: CRM, Microsoft Dynamics CRM, Unified Service Desk, USD