Monday, 5 November 2007

Embed Virtual Earth Map in CRM 3.0

I have to admit it, I love to have rock star moments - and with this relatively simple embedding of Virtual Earth Maps into CRM - I got the greatest reaction from my latest CRM customer. It was so good, I decided to share it so in just 6 simple steps you can too! :)

1. Create a htm file & include the code you can find here in it. (right click to view source when page loads) Or here

2. Create a Folder in your CRMWeb directory on the Server and save this file in it

3. Add a new Tab to your Accounts Form

4. Add a section, and into that add an IFrame

5. Point the Iframe to the htm file you created in step 1 (making sure to untick the restrict cross frame scripting tick box)

6. Publish your changes to the account Form

Wait for the applause! :)



Figure 1. Address details in CRM Accounts Form






Figure 2. Embedded Virtual Earth Map in CRM



4 comments:

ManMIS said...

The given link refers to an internal url not public, no accessible from net. Would have been helpful to have copied the source on blog.

Catherine said...

Hi Manmis,

The code should be public? Blogger made it unreadible when I tried to embed it into the blog post directly so will look into & see what I Can do.

Thanks for the comment,

Catherine

John said...

Hey Catherine,
Just got asked about VE and CRM3.0 on the VE forums at MSDN. I directed them here and repasted your code:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2449710&SiteID=1&mode=1

John.

Catherine said...

Thanks John! :)