ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Map Layout Report

Available with Business Analyst license.

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Creates a snapshot of your map in a layout format and inserts it into a report.

Usage

  • Make sure to have your map formatted and in an acceptable presentation format before running this tool.

  • This tool reads the orientation of your Layout setting in ArcMap and applies it to the report.

Syntax

arcpy.ba.MapLayoutReport(ReportTitle, OutputFolder, {ReportFormats})
ParameterExplanationData Type
ReportTitle

The name of the map layout report title.

String
OutputFolder

The directory that the report will be saved to.

Folder
ReportFormats
(Optional)

Select the desired report output format.

  • Simple XML
  • PDF
  • HTML
  • CSV
  • ZIP
  • XLSX
  • Stripped XLSX
String

Code sample

MapLayoutReport example (stand-alone script)

# Name: MapLayoutReport.py
# Description: Exports a map of the current map extent to a report.
# Author: Esri

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox(r"C:\Program Files (x86)\ArcGIS\Desktop10.8\Business Analyst\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
 
try:
# Acquire extension license
  arcpy.CheckOutExtension("Business")
    
# Define input and output parameters for the Map Layout Report tool

  MapLayoutDir = "C:/My Output Data/Map Layout"
    
 
# Create a map layout report
  arcpy.MapLayoutReport_ba("New Mapping Report", MapLayoutDir)

# Release extension license 
arcpy.CheckInExtension("Business")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Requires Business Analyst
  • Standard: Requires Business Analyst
  • Advanced: Requires Business Analyst

Related topics

  • An overview of the Business Analyst Reports toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2022 Esri. | Privacy | Legal