Viewing every record on a map at once can make it hard to focus on the data that matters most. Salesforce Maps provides Field Filters, Activity Filters, and Cross Filter Sets so you can narrow down which Salesforce records appear as markers on your map. For example, a sales rep might want to see only the Accounts they own that have no scheduled visit this month. Using the right filter type improves both map performance and clarity.
This article explains the different filter types available on a Salesforce Maps Marker Layer and how to use each one to control which records are plotted on your map.
The Create Filters For option lets you choose whether plotted records include everything ("All Accounts") or just personal accounts ("My Accounts"). Managers can also choose to see records owned by their subordinates or direct reports. For example, if you only want to see the Accounts you own, select My Accounts so the filter uses Current User ID equals Owner ID.
Field Filters let you filter on the fields available on the record detail page, as well as lookups to parent objects. This works similarly to standard Salesforce filters, where you set a condition using a field, an operator, and a value. Use Add Condition to add more filter conditions and further refine which records appear on the map.
By default, Salesforce Maps uses the All Conditions Are Met option, which applies AND logic across your filter conditions. You can instead select Custom Logic Is Met to define your own AND/OR logic.
Watch this video to see how to apply Field Filters to a Salesforce Maps Marker Layer:
Notes on Field Filters:
Activity Filters let you filter records based on related Tasks and Events, which is useful for building more powerful, activity-aware reports.
Salesforce Maps builds a query against the first 150,000 records from the base object, then passes those record IDs to a secondary query that applies your Activity filter criteria. If you use Activity filters, filter your base object (for example, Account Billing) down to fewer than 150,000 results before adding Activity filter logic. If you don't, results may be inconsistent when the user has access to more than 150,000 records.
You might notice a record plotted on the map with an Activity filter applied, even though you don't see a matching activity record in the Related List. This happens because Salesforce Maps looks for markers by querying all records linked to the activity (Event or Task) through WhoId, WhatId, OwnerId, and AccountId, but the Related List only shows activities directly linked to the base object, for example, through the Event's WhatId for Accounts.
Cross Filters Set lets you add up to two cross-object filters to your Marker Layer, along with additional sub-filters under those objects. This filter type lets you filter across related objects in your Salesforce data structure.
Watch this quick video on using Cross Filters in Salesforce Maps:
By default, Salesforce Maps uses the All Conditions Are Met option, which applies AND logic across your filter conditions. You can instead select Custom Logic Is Met to define your own AND/OR logic.
000381369

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.