ArcGIS Pro 2.6 API Reference Guide
AddRelatedReport Method

ArcGIS.Desktop.Reports Namespace > Report Class : AddRelatedReport Method
The name of the relationship.
The user provided name of the related report section.
The report section name to insert relate report.
Object defining data source, fields, and definition query for the report.
An array CIMReportElementFieldProperties that includes the statatistics that will be used in the footer sections.
The path to the report template.
The name of the report styling.
Adds a related report section to the report. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

relateName
The name of the relationship.
relateTitle
The user provided name of the related report section.
insertSectionName
The report section name to insert relate report.
reportDataSource
Object defining data source, fields, and definition query for the report.
statProperties
An array CIMReportElementFieldProperties that includes the statatistics that will be used in the footer sections.
templatePath
The path to the report template.
styling
The name of the report styling.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Report Class
Report Members