ArcGIS Pro 2.7 API Reference Guide
TemplatePath Property

ArcGIS.Desktop.Core Namespace > CreateProjectSettings Class : TemplatePath Property
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 10, Windows 8.1

See Also

Reference

CreateProjectSettings Class
CreateProjectSettings Members