ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / CreateProjectSettings Class / TemplatePath Property

In This Topic
    TemplatePath Property
    In This Topic
    Gets and sets the path to the project template that will be used to create the new project
    Syntax
    public string TemplatePath {get; set;}
    Public Property TemplatePath As String
    Remarks

    When a new project is created using a project template, the set of maps, layouts, tasks, styles, database connections, and so on, defined in the template are transferred to the new project.

    Providing a URL to use a project template available from a portal or ArcGIS Online will throw a FileNotFound exception in the call to Project.CreateAsync().

    TemplateType is ignored if the TemplatePath is set.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also