The Map It button lets users plot a Salesforce record directly onto Salesforce Maps from the record detail page. This article walks through configuring the button's Map It Settings on a Base Object and adding it to an object's page layout.
This article answers the question: how do you create and add a Map It button so users can map a Salesforce record directly from its record page? The steps below cover configuring the button in the Salesforce Maps package and then adding it to an object's page layout.
1. From Setup, enter "Installed Packages" in the Quick Find search bar. Select Installed Packages.
2. Select Configure for the Salesforce Maps package.
3. Select Base Objects from the menu on the left.
4. Select Edit Existing and select the Base Object to which you want to add the Map It button.
5. In the "Map It Settings" section, create the tool tips that you want to display when you click the Map It button.
6. Select additional Map It Button settings:
7. When complete, copy the code in the Button URL field. This code is specifically generated for your button. Ensure you set the zoom level, since this determines how far the Map It button zooms by default.
8. Enter "Object" in the Quick Find search box from Setup, and select Objects.
9. Select the appropriate object you're working with.
10. Navigate to the Buttons, Links, and Actions section and select New Button or Link.
11. Give the button a label. For Display Type, select Detail Page Button. Paste the URL you copied from step 7 into the field. Select Save.
12. Navigate back to your custom object (step 8). From the page layouts section, add the button to the necessary page layouts.
13. (Optional) If you're using Salesforce Lightning, add the Map It button via Salesforce Lightning Actions.
000393257

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.