Map report objects
Summarize
Summary of Map report objects
Map report objects in ServiceNow define drill-down levels and their displayed data within map reports. Administrators can create and manage these objects to control how data is visualized across different map levels. Each map report includes a map source hierarchy that configures data per map level and a map hierarchy that defines drill levels. TheLevelfield links these hierarchies, ensuring data corresponds correctly to each drill level.
Show less
Predefined map sources and maps are provided by default and should be used when possible. If additional map sources are needed and reference the location table (fields ending with .location), they can be automatically generated and customized.
Key Features
- Map source: Defines the dataset shown on a map report. It acts like a report source but focuses on fields rather than tables. Each map source level corresponds to a drill level in the map hierarchy.
- Map: Represents the visual map where data is displayed, organized in a parent-child hierarchy that aligns with drill levels. Maps use JSON or geoJSON definitions to determine layout and can include conditions to filter displayed data.
- Mappings: Used to transform map source data into displayable values on the map. Mappings are grouped by geographic categories such as Countries or States/Provinces. Selecting the appropriate mapping group depends on the Field chosen in the map source (e.g., country field uses Country mappings).
Practical Application for ServiceNow Customers
Understanding and configuring map report objects enables you to create dynamic, drillable map reports tailored to your organizational data. By leveraging predefined objects or generating new map sources when necessary, you can visualize location-based data effectively. Properly linking map sources, maps, and mappings ensures accurate and meaningful drill-down paths in reports, improving insight and decision-making.
Next Steps
- Use the Generate map source levels feature to create map source hierarchies automatically when custom location-based data is needed.
- Customize map source levels to refine the data displayed on each drill level.
- Create key-value pair mappings to ensure data transforms correctly for geographic display.
- Build or select maps that suit your data visualization needs and define conditions to filter displayed data as required.
Map objects define the different levels that users can drill down into on a map report and the data displayed on these levels. Admins can create and manage these objects.
Each map report contains a map source hierarchy, which configures the data for a map level. The report also contains a map hierarchy, which defines the map drill levels. The Level field connects levels for these hierarchies. For example, the data in the Level 1 map is displayed on the Level 1 map object.
| Object | Description |
|---|---|
| Map source | Defines a set of data to display on a map report. The map source that a user selects in the Map data field when creating a map report is actually a map source hierarchy. There is one map source level for each drill level on the map. The top map source in the hierarchy is not a level, but rather a wrapper for other hierarchy levels. Each map source contains the data for a single map hierarchy drill level, with both having the same Level. Because they both specify the data that is used for a report, a map source is similar to a report source. However, in a map source you select a field to report on instead of a table. |
| Map | The map that data is displayed on. Maps are set up in a hierarchy defined by
parent-child relationships. Each hierarchy level is a drill level on the map report. A JSON
definition (geoJSON definition for geographical maps) defines the actual map layout.
Select an existing map or create a new one. You can optionally define conditions for a map, which further filters the data it displays. |
| Mappings | Transform the data in a map source to a value that can be displayed on a map.
Mappings are organized into the Countries and State / Province mapping groups. During map source configuration, you select the mapping group to transform the data in that source. The mapping group that you select must match the Field that you have selected. For example, a map source that has a Field value of Locations Country would use the Country mappings group. A map source that has a Field value of Locations State / Province would use the Region and state mappings mapping group. |