Loading

Create the Map It Button in Salesforce Maps

Publiceringsdatum: Sep 2, 2026
Beskrivning

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.

Lösning

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.

Prerequisites

Step-by-Step

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:

  • Map It Zoom Level: When you click the Map It button, the zoom level will show the marker relative to the Street, City, State, Country, and Continent.
  • Map It Proximity: Enabling this setting will plot a Proximity circle around the marker(s) that get created from the Map It button. You can access this setting when configuring your Base Object.
  • Radius of Circle: Set the radius of the Map It Proximity circle.
  • Measurement Unit: The radius of the circle can be meters, kilometers, miles, feet, or yards.
  • Optional Parameters: This includes the option to "Only Show Markers Inside Shape" which turns off all other Markers except those within the proximity you set.

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.

Knowledge-artikelnummer

000393257

 
Laddar
Salesforce Help | Article