The Official Salesforce Blog

The Official Salesforce Blog

Add a Web Integration Link for Aerial Photos

Jamie Grenney Apr 7, 2005

San_francisco

About a month ago there was a post on how to create a Web Link for Google Maps.

If you haven't set this up already, Google just provided one more compelling reason to do so. Earlier this week, they quietly introduced a new satellite feature that allows you to get an aerial photo snapshot for any address in the United States.

Obviously if you’re in the commercial real-estate business this is an extremely valuable tool, but even if you’re stuck in an office doing telesales, it provides great context when talking with prospects. Using a web integration link in Salesforce it’s just one click to bring up the satellite photo like the one above.

Here's a WIL that works on contacts:

http://maps.google.com/maps?q={!Contact_MailingAddress}%20{!Contact_MailingCity}%20{!Contact_MailingState}%20{!Contact_MailingPostalCode}

Here's one from Matt Browning that gives directions from the user’s address to the contact’s address.

http://maps.google.com/maps?q=from%20{!User_Address}%20{!User_City}%20{!User_State}%20{!User_PostalCode}%20to%20{!Contact_MailingAddress}%20{!Contact_MailingCity}%20{!Contact_MailingState}%20{!Contact_MailingPostalCode}

 

6 Comments

Yvan Poulin

Actually, you can link directly to the satellite picture by adding some switches in the WIL:

Just add &t=k&hl=en at the end of the link, and voilà! you are redirected directly to the keyhole view.

Peter

Any way that this can be extended to Europe, the UK in particular?

Yvan Poulin

Unfortunately, I think that Google only supports NA at this point.

Dan Norman

The link for the directions from the user’s address to the contact’s address gives me the following error:

Error: Invalid Data.
Review all error messages below to correct your data.

Dan Norman

The following link works to resolve the issue I had with "Invalid Data".

http://maps.google.com/maps?saddr={!User_FullAddress}&daddr={!Contact_FullMailingAddress}&hl=en

Eric Santiago

I found a much more concise url for the contacts custom link is;
http://maps.google.com/maps?q={!Contact_FullMailingAddress}

For accounts;
http://maps.google.com/maps?q={!Account_FullBillingAddress}

and for leads;
http://maps.google.com/maps?q={!Lead_Street}%20{!Lead_City}%20{!Lead_State}%20{!Lead_PostalCode}

Also, 800x600 pixels is a good pop-up window size.

Post a comment