ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Reports Namespace / ReportTemplateManager Class / GetCustomTemplateDefinition Method
The name of the custom report template.

In This Topic
    GetCustomTemplateDefinition Method
    In This Topic
    Gets the definition of a custom template to be populated and used to create a report. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public static ReportCustomTemplateDefinition GetCustomTemplateDefinition( 
       string templateName
    )
    Public Shared Function GetCustomTemplateDefinition( _
       ByVal templateName As String _
    ) As ReportCustomTemplateDefinition

    Parameters

    templateName
    The name of the custom report template.

    Return Value

    The template definition.
    Exceptions
    ExceptionDescription
    The templateName does not exist.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also