Text Link: Map this Account

This is a cool little text link to locate the Account using one of two different mapping websites and the Account Billing Address. All with a single click!

  1. Setup | Build | Customize | Accounts | Buttons, Links, and Actions | New Button or Link
  2. Name: Map this Account
  3. Display Type: Detail Page Link (creates a text link)
  4. Behavior: Display in new window (opens in a new browser tab)
  5. Content Source: URL
  6. Copy & paste code below for desired website
  7. Click Save
  8. Add to page layouts: Setup | Build | Customize | Accounts | Page Layouts | Edit (the appropriate pages)
  9. Click Custom Links
  10. Drag and drop Map this Account to the Custom Links section of the page
  11. Click Save

Code for Google Maps:
http://maps.google.com/maps?f=q&hl=en&q=!Account_BillingStreet+!Account_BillingCity+!Account_BillingState&om=1

Code for MapQuest:
http://www.mapquest.com/maps?address=!Account.BillingStreet&city=!Account.BillingCity&state=!Account.BillingState&zipcode=!Account.BillingPostalCode

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s