Is there any command to reuse create project from blank template

269
1
Jump to solution
03-16-2020 11:07 PM
by Anonymous User
Not applicable

Hi Gurus,

Is there any command or way to do in ArcGIS pro sdk to create project from blank template behavior at my custom config addin?

Basically we would like to reuse existing ArcGIS pro startup page and extend with additional function at startup page.

May I have any reference like daml or xaml?

Best Regards,

Than

0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

Just for other people reference, I figured it out how to do the same behavior with below code.

 var defaultProjectSettings = Project.GetDefaultProjectSettings();
                    defaultProjectSettings.TemplateType = TemplateType.Untitled;
                    //Create a new project using the default project settings
                    await Project.CreateAsync(defaultProjectSettings);‍‍‍‍

View solution in original post

0 Kudos
1 Reply
by Anonymous User
Not applicable

Just for other people reference, I figured it out how to do the same behavior with below code.

 var defaultProjectSettings = Project.GetDefaultProjectSettings();
                    defaultProjectSettings.TemplateType = TemplateType.Untitled;
                    //Create a new project using the default project settings
                    await Project.CreateAsync(defaultProjectSettings);‍‍‍‍
0 Kudos